What would the following statements, when used in a Java program, display on the screen? int age;

Question:

What would the following statements, when used in a Java program, display on the screen?

int age;
age = 20;
System.out.println ("My age is");
System.out.println(age);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: