Question: Java language. Write a short program that declares a single integer variable called age and assigns it a value equal to your age. Also have
Java language. 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
