can we write a program with out a class in core java?
Answer Posted / venkat kanneganti
yes,an empty source file is compiled with out error,but it
will throw Runtime Exception when jvm will not find Main()
method.
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
Can we override private constructor in java?
Which types of exceptions are caught at compile time?
Can a static member function access member variable of an object?
How many bits is size_t?
What is Hierarchy of exception?
What is difference between java and java ee?
What is the difference between sleep and wait in java?
What is abstract class constructor called?
Describe string intern() methodology
Give an example of call be reference significance.
What is use of super keyword in java?
What is the difference between yielding and sleeping?
Is integer immutable in java?
What is difference between add() and addelement() in vector?
What is difference between classpath and path variables in java?