Write a short program that declares a single integer variable called age and assigns it a value equal to your age. Also have it print out your age using the age variable. The output of your program should look similar to the following:
I am 30 years old.
Correct Answer:
Verified
public st...
View Answer
Unlock this answer now
Get Access to more Verified Answers free of charge
Q29: Explain why it might not be safe
Q30: Write a short application that converts inches
Q31: Write a single line of Java code
Q32: Write an application that prints out the
Q33: Write a short application that computes the
Q35: Consider the following snippet of code.
int iResult;
Q36: For the following expression, indicate the order
Q37: In Java, all floating point literals are
Q38: How are primitive data types and object
Q39: Explain the difference between the print and
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents