Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Instructions to Student: Please write a java project that includes 4 classes from your own idea, these classes should have one parent ,2 child and
Instructions to Student:
Please write a java project that includes 4 classes from your own idea, these classes should have one parent ,2 child and one sub-child classes in different files.
You have to have the following in your code:
1. Default constructors and other constructors
2. Polymorphism for two methods that exist in the parent class.
3. Array of string for any kind of data
4. 2 different loop types
5. Global and local variables
6. Static and dynamic variables
7. Protected, private and public variables
8. Protected, Private and public methods
9. If else if else statements
10. Switch case statements
11. Try and catch blocks as much as needed
12. You have to read and write data from and to text file as well.
13. You have to print all the requested statements in one main function at the sub-child class file
The course learning outcomes addressed by this assignment:
1. Describe the main concepts of the object-oriented programming paradigm as they are related to software development.
2. Use Classes, Control Statements, Functions, Recursion and Arrays in a program that incorporates these concepts.
3. Write programs that incorporate object oriented constructs and features such as classes and objects, abstraction, encapsulation, inheritance and polymorphism.
4. Understand the concept of object oriented programming in solve problem and how to write the required program code to solve it.
5. Apply Object oriented programming concept in problem solving.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started