Question: EX 4.11 Suppose you have a class called child with an instance data value called age. Write a getter method and a setter method

EX 4.11 Suppose you have a class called child with an instance data value called age. Write a getter method and a setter method for age.
Step by Step Solution
3.55 Rating (155 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
