if a java file without any source code is valid java file?

Answer Posted / kartik kudada

Yes, It is possible .

java file can be empty.
You could check it eclipse.

Is This Answer Correct ?    15 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is args length in java?

669


Is space a char?

534


What is a static class in java?

559


Explain the importance of throws keyword in java?

574


What are different types of control structures?

495






What is the difference between method and means?

574


Explain inner classes ?

655


What is the use of static methods?

594


Is string a class in java?

513


What are the four pillars of java?

614


Where are the card layouts used?

616


What is meant by memory leak?

544


what is the difference between the methods sleep() and wait()? : Java thread

517


Where is const variable stored?

538


Describe the process as to how substring() methodology mechanisms in java.

563