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 return data type?
What is the base class for error and exception?
Write an algorithm for quick sort?
How do you use find and replace?
What is aggregation?
What is meant by interface?
What is the difference between normal report & matrix report?
How do you relate a Interface to a Class? Tell me in Detail?
How do you replace a string in java?
What class allows you to read objects directly from a stream?
What is the difference between checked exception and unchecked exception?
What are the two types of java programming?