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

Can we override compareto method?

906


What are different exception types exceptions available in java ?

955


What is nextint java?

988


How many unicode characters are there?

989


What's the difference between int and integer in java?

1104


What is a treeset in java?

997


What is difference between arraylist and list in java?

1030


what is the difference between Object Based Language and Object Oriented Language?

984


What is a boolean structure?

1040


What is java virtual machine and how it is considered in context of java’s platform independent feature?

1116


What does system.gc() and runtime.gc() methods do?

996


How to reverse string in java?

1142


What is identifier in java?

1035


What is meant by 'bit masking' in java?

1119


How do you create immutable object in java?

996