Java - Using Accessor and Mutator methods
问题 I am working on a homework assignment. I am confused on how it should be done. The question is: Create a class called IDCard that contains a person\'s name, ID number, and the name of a file containing the person\'s photogrpah. Write accessor and mutator methods for each of these fields. Add the following two overloaded constructors to the class: public IDCard() public IDCard(String n, int ID, String filename) Test your program by creating different ojbects using these two constructors and