Write a program to create instance variables name age and


Write a program to create instance variables Name, age and create the use defined constructor and create a void check() method to check whether the person is "Young, "Middle" or "Old"

(You have to take data from the keyboard)

Create a Test class and Create a object for the test class, call the void check() method.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Write a program to create instance variables name age and
Reference No:- TGS01482739

Now Priced at $15 (50% Discount)

Recommended (97%)

Rated (4.9/5)