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...

How are Java source code files named?

Answer Posted / niranjanravi

A java source code file contains atmost one public class
or interface defined with in the file.Java source code
files takes the name of the public class or interface that
is defined with in the source code file.If no public class
or interface is defined with in the source code file then
file must take on a name that is different than its public
class or interface.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the differences between heap and stack memory in java? Explain

933


Can an integer be null java?

941


What is difference between array and arraylist in java?

946


can I implement my own start() method? : Java thread

939


What is java util?

977


What are different exception types exceptions available in java ?

956


Can we override private constructor in java?

917


Does every java program need a main?

946


Are static members inherited to sub classes?

1098


What are bind parameters?

993


What is data movement?

1077


How to display all the prime numbers between 1 and n (n is the number, get the input from user)

933


What does index mean in java?

937


What is an image buffer?

944


What is a concrete classes? Is Java object class is concrete class?

941