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 difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1193


What is the instance of an object?

1267


What is consumer interface?

1064


What does the @override annotation do?

1090


Why string is a class?

994


What is tcp ip in java?

1155


What is the difference between a vector & an array list?

1215


What string is utf8?

1038


How are observer and observable used in java programming?

1075


Does treeset use compareto?

1021


How we can make copy of a java object?

1144


What is mnemonic in assembly language?

1114


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1194


What is the difference between stringbuffer and stringbuilder?

1105


What is method reference in java?

1191