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

What is the use of jtable?

1166


What is considered an anti pattern?

980


What is a databasemetadata?

994


Explain heap sort?

1170


Can we declare a class as abstract without having any abstract method?

1045


What is string data?

1036


What is java english?

1085


Write a program to print all permutations of string?

1160


What’s the difference between the methods sleep() and wait()?

1066


How to sort an unsorted array in java?

1188


What do you mean Abstraction in java?

1124


What is api in java?

1022


What are the basic concepts of OOPS in java?

1088


How do you sort words in java?

990


What are the string methods in java?

1135