0
Class is title of java program
5 ответов
+ 1
This question is poorly formed. If you were asking what a class is, then no, it is not just the file name. It is a blueprint for making an object and describing its capabilities. It is also, as was said, the keyword used to declare this blueprint. For more info, search for Object Oriented Programming (OOP).
+ 4
No. class is just a keyword. Unless you named the program 'class' o.0. class is basically something used to define what an object is. That being whatever is inside the class.
The title of your program is really just whatever the file name is. The file name might be the name of the class that would have the main method in it on other IDEs.
+ 3
Not necessarily. Generally when we create a new file the class is given the same name( depending on which IDE you use). But you can choose to give the class a different name. The class does not denote the name of a file, it's a blueprint for an object
+ 2
class name is title
0
Yes. It is (or should be).