Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the skills required for core java?

1017


How much is a java license?

931


How many characters is 16 bytes?

1004


Can java list contain duplicates?

1021


How is treeset implemented in java?

1031


Is hashset ordered java?

1095


Difference between method overloading and method overriding in java ?

1090


Is there any difference between nested classes and inner classes?

1099


Is java a compiler?

987


Explain about anonymous inner classes in java?

1090


Can static methods be inherited?

1050


How do you use equal in java?

1101


What is %02d?

1085


How to sort a collection of custom Objects in Java?

1060


What do you mean by data type?

1024