Computer Science, asked by poorvitha1835, 1 year ago

Accessor and mutators are often declared as when they are used to access the property outside the object

Answers

Answered by PoojaBurra
2

Making class called ID Card that contains a person's name, ID number, and the name of a file containing the person's photogrpah. Creating  accessor and mutator methods for each of these fields.  

Including the following two overloaded constructors to the class: public IDCard() public IDCard(String n, int ID, String filename)

Testing your program by different objects using these two constructors and printing out their values on the console using the accessor and mutator methods.

Answered by CarolinaRay89
1

Answer:Public

Explanation:

Similar questions