if a java file without any source code is valid java file?
Answers were Sorted based on User's Feedback
Answer / kartik kudada
Yes, It is possible .
java file can be empty.
You could check it eclipse.
| Is This Answer Correct ? | 15 Yes | 3 No |
yes a java file without any source code is valid java file.
it will compile without any error but while running it gives
error-
"could not find or load main class----"
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the blank final variable?
Is c better than java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
How do you do a line break in java?
I have 100 records in a table with two rows. I need to display 10 records per page like Google Search. I need only the Logic(Pagination) in Pure Java. No JSP and all..Thanks in Advance...
What is sleep method?
What are exceptions
how session will be expired?
Why java is not a pure object oriented language?
how to write a server program and sending the mails to the server using smtp protocol please help me
How do you compare two objects?
In Serialization, whether you will use Static variables?