Java Software Solutions > PP1.1 > Solution

Problem:

Enter, compile, and run the following application:
public class Test
{
public static void main (String[] args)
{
System.out.println ("An Emergency Broadcast");
}
}

Output:

Not available.

Solution:

class test
{
   //-----------------------------------------------------------------
   //  Prints a statement.
   //-----------------------------------------------------------------
   public static void main (String[] args)
   {
      System.out.println ("An Emergency Broadcast");
   }
}

No comments:

Post a Comment