Question: The code below includes two live Infant variables, jacksKid, and jillsKid, which you cannot see. Your job - using one or several commands you know
The code below includes two live Infant variables, jacksKid, and jillsKid, which you cannot see. Your job - using one or several commands you know about for retrieving information from Infant objects - is to print to the console the name of jacksKid, followed immediately by the age of jillsKid. Note: there should be no space between Jack's kid's name and Jill's kid's age. If Jack's kid is Ivan and Jill's kid's age is 29, your code should print Ivan29 printing Ivan 29 is not correct. I need this in Java. this is all i was given for the prompt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
