Answer to Question #62192 in Java | JSP | JSF for Bill DeShields

2016-09-20T15:17:03-0400

Question #62192

Class Person has instance data members (all private) String fullName, char gender, int age. has a public static int variable named numFriends with an initial value of zero. has a constructor that will be used to make a Person object and assign values to its data members, and increment numFriends. has getters and setters for all three instance data members. has a toString() method that returns a string displaying the state of a Person instance.