Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+7 votes

What methods do we need for the course class?

asked in CSC305 Fall 2021 by (1 point)
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 (1 point)
+1 vote

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

answered by (1 point)
...