0

Class is title of java program

4th Jun 2017, 4:10 AM
Punite Singh
Punite Singh - avatar
5 Respostas
+ 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).
4th Jun 2017, 4:48 AM
Jason Runkle
Jason Runkle - avatar
+ 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.
4th Jun 2017, 4:28 AM
Rrestoring faith
Rrestoring faith - avatar
+ 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
4th Jun 2017, 4:50 AM
Nihar Raote
Nihar Raote - avatar
+ 2
class name is title
4th Jun 2017, 4:40 AM
Mayur Chaudhari
Mayur Chaudhari - avatar
0
Yes. It is (or should be).
4th Jun 2017, 4:25 AM
Jason Runkle
Jason Runkle - avatar