if a java file without any source code is valid java file?
Answer Posted / gaurav kumar
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 |
Post New Answer View All Answers
What is meant by anonymous class?
What is anagram number?
Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.
What is methods in java?
What is java reflection api?
What does %d do in java?
How can you add and remove nodes in jtree?
why java does not support unsigned keyword?
Can we cast any other type to boolean type with type casting?
What does compareto () do in java?
What are assembly attributes?
What is the purpose of the enableevents() method?
What is the difference between assignment and initialization?
What is linked hashset and its features?
Does list allow duplicates in java?