class PersonExample { public static void main(String[] args) { // Task 1: Declare a Person object reference variable called "x" // Task 2: Using the "new" operator, create a new Person object // with your first name, your last name, your age, // and your height. Assign the object to variable "x". // Task 3: Output the age of the person "x". // Task 4: Call the "hadBirthday()" method on the person "x". // Task 5: Again, output the age of the person "x" // Task 6: Output whether person "x" is an adult // Task 7: Set person "x" first name to be "Jane". // Task 8: Output the full name of person "x" // Output all of the details of person "x". System.out.println(x.toString()); } // main } // PersonExample