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 / vijayakumar chinnasamy

If a java source code file contain public class then the
source code file name should be public class name other
wise compiler error.


if a java source code does not contain the public class
then the name may be class name or anything ,not a problem.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What means public static?

990


What is int argc char * argv?

1055


Is string is a keyword in java?

927


Which browsers work with java?

1017


Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?

922


Why is a string immutable?

936


When do you get classcastexception?

977


how we can make a read-only class in java?

933


What is preparedstatement in java?

974


Is the empty set a singleton?

907


What is general methodology?

976


What does a method signature consist of?

923


How is it possible for two string objects with identical values not to be equal under the == operator?

922


Why collection is called framework in java?

925


What are variable arguments or varargs?

957