Question: Write a program which will produce a report with the following requirements: 1. Design four classes: Address, Person7, Student 7 and Faculty 7 classes as

 Write a program which will produce a report with the following

Write a program which will produce a report with the following requirements: 1. Design four classes: Address, Person7, Student 7 and Faculty 7 classes as below. Implement the toString() methods for each class that will return all data fields (include data fields in super class). In xxxx_Lab7 class (xxxx is your email ID): a. Write a main method which create one student object and one faculty object. b. Hard-coding the initialize values through the constructors. c. Print the object information by pass the object to System.out.println()

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!