Please Explain Approach Taken Complete Assignment Major Decisions Made Assessment Design C Q43836132
PLEASE Explain the approach taken to complete thisassignment and the major decisions made.
In this assessment, you will design and code a Java consoleapplication that defines a class, extends it into two otherclasses, overrides the toString() for all three classes,instantiates the classes into three objects, invokes the toString()on these objects, and prints out the return value of eachtoString() invocation. You can use either the Toolwire environmentor your local Java development environment to complete thisassignment.
The requirements of this application are as follows. Theapplication is to define a Java class called Course. The Courseclass has the following members:
1. code attribute – a string field to store the course code(e.g. IT4789)
2. creditHours attribute – an int field to store the credithours of the course (e.g. 3)
3. title attribute – a string field to store the title of thecourse (e.g. Mobile Cloud Computing Application Development)
4. Parameterized constructor with the three parameters of code,creditHours, and title. The constructor simply assigns the receivedvalues to their corresponding attributes
5. An overridden toString() method that returns the name of theJava class (i.e. Course) and the course code assigned to the classobject
The application need to extend the Course class into two otherJava classes named:
1. FlexPathCourse
2. GuidedPathCourse
The FlexPathCourse class adds the following members:
1. optionalResources attribute – a string field for the optionalresources for a flexpath course
2. Parameterized constructor with the three parameters of code,creditHours, and title. The constructor simply assigns the receivedvalues to their corresponding attributes
3. An overridden toString() method that returns the name of theJava class (i.e. FlexPathCourse) and the course code assigned tothe class object
The GuidedPathCourse class adds the following members:
1. duration attribute – an int field for the duration of aguidedpath course
2. requiredResources attribute – a string field for the requiredresources for a guidedpath course
3. Parameterized constructor with the three parameters of code,creditHours, and title. The constructor simply assigns the receivedvalues to their corresponding attributes
4. An overridden toString() method that returns the name of theJava class (i.e. GuidedPathCourse) and the course code assigned tothe class object
The application will then instantiates three objects from theCourse, FlexPathCourse, and GuidedPathCourse and invokes theircorresponding toString() methods. Use these attribute values wheninstantiating the three classes to test your application:

Successful completion of this assignment will show the correctclass name and course code printed out when the application is run.Your program output should look like this sample output:

creditHours Class Name Course FlexPath Course code TBD IT2230 title TBD Introduction to Database Systems Mobile Cloud Computing Application Development GuidedPathCourse ITFP4789 run: Teacher’s Copy Java class name = ‘Course’ Course Code = TBD Java class name = ‘GuidedPathCourse’ Course Code = IT2230 Java class name = ‘FlexPathCourses Course Code = ITFP4789 BUILD SUCCESSFUL (total time: 0 seconds) Show transcribed image text creditHours Class Name Course FlexPath Course code TBD IT2230 title TBD Introduction to Database Systems Mobile Cloud Computing Application Development GuidedPathCourse ITFP4789
run: Teacher’s Copy Java class name = ‘Course’ Course Code = TBD Java class name = ‘GuidedPathCourse’ Course Code = IT2230 Java class name = ‘FlexPathCourses Course Code = ITFP4789 BUILD SUCCESSFUL (total time: 0 seconds)
Expert Answer
Answer to PLEASE Explain the approach taken to complete this assignment and the major decisions made. In this assessment, you will…
OR