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


Please Help Members By Posting Answers For Below Questions

What is the applet security manager, and what does it provide?

543


What is busy spin, and why should you use it?

590


Does collectionutils isempty check for null?

816


What happens if we don’t define serial version uid?

572


What is a nonetype?

565






Explain constructors and types of constructors in java.

645


What is the range of the short type?

587


Can we create a constructor in abstract class?

575


Can we execute a program without main() method?

535


How is a variable stored in memory?

531


Why is java called the platform independent programming language?

579


How to restrict a member of a class from inheriting by its sub classes?

803


Why is it called boolean?

527


What are the types of java?

605


What is communist flag?

573