Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+5 votes

What methods do we need for the course class?

asked in CSC305 Fall 2021 by (2.1k points)
0

Depends on your design, you may have methods that return a value. You may also use a list to enlist the possible courses.

2 Answers

+4 votes

That will depend on how your group plans to access the course's information. I know my group included get methods for the different data fields and then a toString method to print it out. I don't imagine we will need much more for this particular project.

answered by (2.4k points)
+1 vote

Just methods to return the data fields and a toString method I think is what our group did

answered by (2.1k points)
...