part-1inheritance write code using eclipse and


Part-1

Inheritance (Write code using eclipse and output screen)

Implement a subclass Square that extends the Rectangle class. In the constructor, accept the x- and y- positions of the centre and the side length of the square. Call the set location and set Size methods of the Rectangle class. Also supply a method getArea that evaluates and return the area of the square. Write a sample program that asks for the side length and centre, and then prints out the square (using the toSring method that you inherit from Rectangle) and the area of the square.

Part-2

Inheritance (Write code using eclipse and output screen)

Make a class Employee with a salary and name. Make a class Manager inherits from Employee. Add an instance variable, name department, of type string. Supply a method toString that prints the manager's name, salary and department. Make a class Executive inherits from manager. Supply appropriate toString methods for all classes. Supply a test program that test these classes and methods.

Part-3

Case Study "Multi-Level Marketing Solution Using Java"

Write a three page paper in which you:

1. Identify the Java-based technologies utilized in this project and analyze each of them. Then, provide discussion on the purpose of each of the Java-based technologies utilized.

2. Describe why you believe project managers selected these Java-based technologies.

3. Recommend two alternatives that project managers could select instead of these Java-based technologies.

4. Evaluate if there were any aspects of this project that you would have done differently. Support your position, whether or not you would have approached the project differently.

5. Determine the decision of Java as the platform to develop this program. Explain whether or not you agree with this decision.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: part-1inheritance write code using eclipse and
Reference No:- TGS0445869

Now Priced at $40 (50% Discount)

Recommended (97%)

Rated (4.9/5)