Object Oriented Programming With JavaTU Board 2023
Create a class named "Course" with data member title, credit and courseCode and a method named void setValues() to assign the values and another method named showValues to display the record. In…
5Create a class named "Course" with data member title, credit and courseCode and a method named void setValues() to assign the values and another method named showValues to display the record. In main(), instantiate 5 objects of course and display the record of course whose title start with "C".
A worked answer is on its wayMeanwhile, read the Object Oriented Programming With Java notes for this topic.
Discussion
Loading…