Question: Question 12) Identify classes and objects A) Identify the names of classes in the two programs shown below: _____________________________________________________ B) Identify which class is the
Question 12) Identify classes and objects
A) Identify the names of classes in the two programs shown below:
_____________________________________________________
B) Identify which class is the client class and which one is the blueprint class among the two programs shown below.
_______________________________________________________________
C) Identify the name of the object from the programs shown below.
_________________________________________________________________

2 public class PersonInfo f 3 private int numKids; 4 5 public void setNumkids (int personsKids) pe r s on skids; numkids return = 7 8 10 public void incNumkids) numkids numkids 1; return; 12 13 14 15 public int getNumKids)t 16 17 18 19 11 end return numkids; 21Code from file CallPersonInfo.java 22 public class CallPersonInfo t 23 public static void main (String [] args)t 24 25 26 27 28 29 30 31 32 33 end PersonInfo person1-new PersonInfo(); person1.setNumKids (3); Your solution goes here / return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
