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 |
How to print an arraylist in java?
What is the use of collections in java? How it is implemented in real time applications?
how u do unit testing?
What is immutability in java?
What is string and its types?
What is final variable?
Is age discrete or continuous?
Why main() method is public, static and void in java ?
what is AWT
Brief the life cycle of an applet.
Explain the differences between public, private, protected and static?
Why should I use abstract class?