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...

Explain class A{}
class B{}
class C{}
all the three classes are saved in a single file name, what
the name should i provide to the file ,in what file name
should i run the program? Ple Explain

Answer Posted / cool_duzz

The name of the file should be the same as the class having
public access modifier.. otherwise u can put it the way u
like. 3 .class files will be generated by compiler.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java map thread safe?

972


How does enum work in java?

1026


What is a numeric literal?

1086


List some oops concepts in java?

1038


When can an object reference be cast to an interface reference in java programming?

1028


What does the “final” keyword mean in front of a variable? A method? A class?

1000


List any five features of java?

1034


In which order the iterator iterates over collection?

996


What does main method?

986


What are the kinds of polymorphism?

1095


What a static class can contains?

1155


Explain 5 features introduced in jdk 1.7?

1029


Why are variables important in research?

946


Is a copy constructor?

1064


Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

957