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 replaceall in java?

1026


Why do you canvas?

1043


What is the function of static in java?

1079


What are the ways in which a thread can enter the waiting state?

943


what do you mean by stream pipelining in java 8? Explain

1027


Give some features of interface?

1067


Is it necessary for the port addresses to be unique? Explain with reason.

1018


What is java english?

1002


Which is faster set or list in java?

1033


Explain the difference between map and flatmap stream operation?

1267


Explain different ways of creating a thread. Which one would you prefer and why?

1041


Give any two differences between C++ and java.

1146


Difference between character constant and string constant in java ?

1022


What is a constructor, constructor overloading in java?

997


how to split string in java?

1214