Problem #485 C++ using OBJECT ORIENTED PROGRAMMING

Write a Java program to create a class called "Person" with a name and age attribute. Create two instances of the "Person" class, set their attributes using the constructor, and print their name and age.

Your Solution