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
What is parsing a string?
What is the size of string?
What is thread count in java?
Why do you canvas?
Why is an interface be able to extend more than one interface but a class can’t extend more than one class?
Can we create more than one object singleton class?
How do you make an arraylist empty in java?
How do you get the length of a string in java?
How many inner classes can a class have?
Explain super keyword in java.
What are the important features of Java 10 release?
What is mean by collections in java?
Explain about procedural programming language or structured programming language and its features?
What is a string token?
What is the Difference between Final Class && Abstract Class?