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 |
Why is serialization required?
What is finalize method?
What does provide mean construction?
What is object in java?
What are the important methods of java exception class?
What are java threads?
What is the meaning of course?
How does access modifiers work?
What is the use of parse function in java?
What is meant by event handling in SAX parser?
What is a variable analysis?
How to perform selection sort in java?