Answer Posted / mahipal
no,because java is purely object oriented language,so we can't create the objects with out writing a class.And also we can save the code as classname.java that's the reason also we must create a class
| Is This Answer Correct ? | 3 Yes | 4 No |
Post New Answer View All Answers
Can we declare main () method as non static?
Is java written in c?
What is the use of flag?
What is the Concept of Encapsulation in OOPS
What is reverse function?
What is bubble sort in java?
Can you instantiate the math class in Java?
Can a singleton class be inherited?
what is a green thread? : Java thread
How can you write a loop indefinitely in java programming?
What does int argc char * argv [] mean?
What does business logic mean?
What are thread groups?
What is the private method modifier?
What is the use of singleton?