package a0;

/**
 * HolaWorld is like HelloWorld except it can say hello in Spanish!
 */
public class HolaWorld extends HelloWorld {

   /** Greeting in Spanish */
   public static final String spanishGreeting = "Hola Mundo!";

   public static void main(String[] argv) {

       // Create the Hello World objects.
       HelloWorld myFirstHW = new HelloWorld();
       HolaWorld world = new HolaWorld();

       // Print out greetings
       System.out.println(myFirstHW.getGreeting());
       System.out.println(world.);
   }

   /**
    @return Returns a greeting (in Spanish).
    */
   public String getGreeting() {
       return spanishGree;
   }

}