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 |
Can you change array size in java?
how we can make a write-only class in java?
what is the difference between @include page and @include file
garbate collector(GC)?
What is static import in java?
what is the difference b/w static and final methods?
What modifiers are used with a top level class?
What function extracts specified characters from a string?
What is string args [] in java?
Can static method access instance variables ?
How can you take string into InputStream?
What is the use of a copy constructor?