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 is arrays sort in java?
How is tree Mirroring implemented?
Can we have any code between try and finally blocks?
What is math floor in java?
Can an object subclass another object?
What is the longest unicode character?
Where import statement is used in a java program?
What is ascii code?
What is difference between fail-fast and fail-safe?
Explain the difference between jvm and jre?
Is char a method in java?
What does sprintf return?
What is the final field modifier?
Why java applets are more useful for intranets as compared to internet?
Can we have any other return type than void for main method?