Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I created TestComputer class, Computer, InputComputer and OutputComputer and I want help to complete it and get a information about to full the codes like

I created TestComputer class, Computer, InputComputer and OutputComputer and I want help to complete it and get a information about to full the codes like as a first pictures.
Second pictures is the question and I chose to do about ( Computer class)
pleeeeeease i want Computer class not anther class
help me pleeeease
image text in transcribed
image text in transcribed
pleeease read what i need first
Q- Search (Ctrl+1) TestComputer.java X Computer.java x InputComputer.java X Output Computer.java X Headers in Project Properties. Templates Part-2 (Inheritance and Polymorphism) (11 marks) Create a Java project that demonstrates various object oriented concepts you have learned so far in this course inheritance and polymorphism). To do this, create a super class and at least 2 subclasses. The super class will have following properties/functionalities: 1) Create a total of 3 member variables for the class, selecting the appropriate data types for each field. The two subclasses will have below properties/functionalities: 1) One of the subclasses will have at least one-member variable and other subclass with at least two member variables. 2) You should include overloaded methods in any of the classes you have created (superclass or subclass). Override the toString() method in each of your Classes. Override the equals() method in each of your Classes. The test class (with the main () method) will perform below tasks: 1) Create objects of superclass and each subclass types invoking all constructors. 2) Use setter methods to fill missing data in all objects. 3) Generate outputs demonstrating overloading, overriding outputs. 4) Create object of subclass [actual type] and store it in superclass object (declared type]. 5) Generate output for instanceof operator. 6) Generate output for constructor chaining (using this and super keywords]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 11g SQL

Authors: Jason Price

1st Edition

0071498508, 978-0071498500

More Books

Students also viewed these Databases questions