Question: 3. Create an abstract class named Person. This abstract class is composed of the following instance variables and methods: (8 marks) Instance variables: name,
3. Create an abstract class named Person. This abstract class is composed of the following instance variables and methods: (8 marks) Instance variables: name, and contact number Constructor: initialize name and contact number based on value from parameters Concrete method: accessor method for name and contact_number Abstract method: public void introduce()
Step by Step Solution
3.49 Rating (159 Votes )
There are 3 Steps involved in it
Heres an abstract class named Person with the specified instance variable... View full answer
Get step-by-step solutions from verified subject matter experts
