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 is the basic of java?

1016


What are void pointers?

1293


What is sizeof () operator?

967


How do you create a first line indent?

994


What are selection structures?

992


How do you do math powers in java?

1052


Explain about map interface in java?

990


What are the difference between string, string builder, and string buffer in java?

1120


How does sublist works in java?

964


Java is pass by value or pass by reference? Explain

983


When is the arraystoreexception thrown?

1015


What are the main uses of this keyword?

1049


Why singleton pattern is better than creating singleton class with static instance?

992


What are the library functions in java?

1036


What is the difference between multitasking and multithreading in Java

1169