Question: In this lab you will create a new class, CourseName, and will create objects using this class. Course Lab Series - Lab 0 1 CourseName
In this lab you will create a new class, CourseName, and will create objects using this class.
Course Lab Series Lab CourseName
Classes
App
App will create CourseName objects
object using the noparameter constructor
objects using the fullparameter constructor
see the data in the general CourseName class description
for this lab, use objects and described in the CourseName class
App will display the data of each object
it needs to use a System.out.println statement
it needs to use the toString method from the CourseName class
App will display a line separator
it is a simple string with a series of
this can be achieved with the statement
System.out.println;
App will also display a line that you need to build for each object
the attribute major
a space
the attribute number
a String is an
the Course level
for instance, a display line for the first object would be
IST is an Introductory course
CourseName
see the general CourseName class description
Output
CourseNamemajorIST, number
CourseNamemajorIST, number
CourseNamemajorIST, number
CourseNamemajorSRA, number
IST is an Introductory course
IST is an Intermediate course
IST is an Upperdivision course
SRA is an Intermediate course
Through NetBeans
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
