birth (dob) in string format. E.g: public String getDOB(){…} iii. Override toString() method from Object class c. Constructor i. A parameterized constructor that will accept and set: firstName, lastName, gender, age, dobDD, dobMM, dobYY 3. Create a Customer class that inherits Person class with file name Customer.java that will have the following object members: a. Object States (or) Instance variables i. customerId of type String ii. dojDD of type int iii. dojMM of type int iv. dojYY of type int v…
Words 885 - Pages 4