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

+22 votes
asked in CSC211_Winter2018 by (1 point)
+3

Was there a particular sentence in the textbook that spurred this question?

1 Answer

+9 votes

There is only one type of class. Since a class is just the program you are creating, the name of the class.
For example, if I were to make a program that has a robot in it I would have:
public class Robot {

"Robot" is the class or the name of the program.

answered by (1 point)
...