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 / dipil t t

class A{},class B{}and class C{} Shold be public then we
can select main class name is the file name.

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the data types supported by java?

982


What is java thread dump, how can we get java thread dump of a program?

946


What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?

1077


What do you mean by Hash Map and Hash Table?

1036


Explain how to convert any java object into byte array.

933


What does provide mean construction?

1060


What is set string?

1102


Differences between external iteration and internal iteration?

1101


Explain treeset?

1060


What are the advantages and disadvantages of reference counting in garbage collection?

978


What is the difference between @before and @beforeclass annotation?

1028


Can constructor be static or final?

1044


What are the types of arrays in java?

1034


Is a string literal?

1018


What does it mean to flush a file?

1015