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 you sort a list in java?
How many digits is int32?
why java does not support unsigned keyword?
What string is utf8?
Is set ordered?
How do you override a variable in java?
What do you mean by global variable?
what do you understand by synchronization? Or what is synchronization and why is it important? Or describe synchronization in respect to multithreading? Or what is synchronization? : Java thread
How to use arraylist in java netbeans?
What is return null in java?
Difference between java and javascript
What are the methods used to implement for the key object in the hash map?
Can a class have multiple superclasses?
How does enum work in java?
What is assembly language?