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

Can anonymous class have constructor?

552


What is application system?

505


Explain the selection sort algorithm and state its time complexity?

613


What is difference between string and new string?

542


When is the garbage collection used in Java?

658






What is an 8 bit word?

596


What is the default value of local and global variables?

569


What is the difference between the final method and abstract method?

542


What is a byte string?

625


How do you define a variable?

539


What are the two categories of data types in the java programming language?

507


What is an empirical question?

543


What is a ternary operator in java?

539


Can a set contain duplicates?

517


How will you reverse a link list without using recursion?

599