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
What are predicates in java 8?
Why call by value prevents parameter value change?
How can the checkbox class be used to create a radio button?
How do you reverse a word in java?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
Is 0 true or false?
How do you print array in java?
What is java and their uses?
How many types of operators are there?
Tell me a few examples of final classes defined in Java API?
What is the java idl system?
How many bits is a 64 bit byte?
Explain how to force the garbage collection in java.
What are data structures in java?
What is super in java?