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
Is multiple inheritance supported by java?
Explain about method local inner classes or local inner classes in java?
What do you understand by an io stream?
Why pointers are not used in java?
Why is java not 100% pure oops?
Can extern variables be initialized?
How many types of methods are there?
What is the lifetime and scope of a variable?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is difference between length and length() method in java ?
How hashset works internally in java?
What do you mean by checked exceptions?
What is a generic type?
What is parsing and its types?
Java Compiler is stored in JDK, JRE or JVM?