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 do you know about java?

938


What is treemap in java?

938


What is factor r?

959


Can an interface extend another interface?

1049


What is linked hashset and its features?

1051


Is a method a function?

1049


How can we make copy of a java object?

1142


What is the difference between hashmap and hashtable in java?

1109


What is a null class?

975


Why do we need hashmap in java?

1105


What is use of arraylist in java?

1170


How do you define a method?

974


How many inner classes can a class have?

1039


which pattern is default in scanner package?

2227


How do you break a loop?

977