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 thread safe in java?

940


How can you add and remove nodes in jtree?

974


Are arrays dynamic in java?

980


What are the legal operands of the instanceof operator?

968


What are access specifiers in java ?

1053


What are the different types of inheritance in java?

953


Can we create object of inner class in java?

884


What is array size in java?

918


How java uses the string and stringbuffer classes?

1003


define the terminology association.

1048


What is difference between static class and singleton pattern?

952


What is the old name of java?

921


What is string data?

945


How many types of classes are there in java?

1002


Which data type is class in java?

956