Course Hero Logo
Question
Answered step-by-step

Instruction: Execute the program. There should be no syntax errors....

Instruction:

  1. Execute the program. There should be no syntax errors.
  2. Modify the program so it displays "I'm learning how to program in Java.". Execute the program.
  3. Modify the Programming class so it prints two lines of output. Change the class name to Awesome. In Java, the file name must match the class name, so change the file name to Awesome.java. Add a second output statement that displays "That's awesome!". Execute the program.
Main Code public class Programming {

    public static void main(String[] args) {
        System.out.println("I am learning how to program.");
    }
}



This is my code


Public class Awesome

{

   public static void main(String[] args){

   System.out.println("I'm learning how to program in Java.");

    System.out.println("That's Awesome!");

}

}


Someone can help to find a mistake please.

Answer & Explanation
Verified Solved by verified expert
Rated Helpful
ec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec fficitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus

Unlock full access to Course Hero

Explore over 16 million step-by-step answers from our library

Subscribe to view answer
Step-by-step explanation

ia pulvinar tortoac, dictumpulvinar tortor nec facilisis. Pellentesque dapibus efficititpulvinar tortor

ac, dictum vitonec aliquDoneccon

gue

ultrices ac magna. Fusceat, ultrices aciscing elit. Nam laciniaicitur

21718629

1 Attachment
Capture.PNG
PNG
Student reviews
67% (3 ratings)