if a java file without any source code is valid java file?
Answer Posted / la_di
(I suppose you mean IS not IF)
No, an empty file is not a valid java file since you have
to use the same class-name as file name. (A file with a
valid class declaration but an empty body is valid thou)
| Is This Answer Correct ? | 5 Yes | 11 No |
Post New Answer View All Answers
What are the skills required for core java?
How much is a java license?
How many characters is 16 bytes?
Can java list contain duplicates?
How is treeset implemented in java?
Is hashset ordered java?
Difference between method overloading and method overriding in java ?
Is there any difference between nested classes and inner classes?
Is java a compiler?
Explain about anonymous inner classes in java?
Can static methods be inherited?
How do you use equal in java?
What is %02d?
How to sort a collection of custom Objects in Java?
What do you mean by data type?