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 / anandhi

class a
{
}
class b extends a
{
}
class c
{
public static void main(String arg[])
{
b b1=new b();
....
}
}
so file name c...

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Whats the difference between notify() and notifyall()?

1032


What is unicode in java?

921


What is double checked locking in singleton?

1043


What is the difference between variable declaration and variable initialization?

1022


What is java command?

1066


What is compiler and what its output.

1143


Can we extend singleton class in java?

951


why java does not support unsigned keyword?

5238


How to create a custom exception?

984


Define a java class.

1423


Why set is used in java?

998


What causes memory leaks in java?

921


Tell me about different OOPS concepts.

992


How do you control extraneous variables?

908


Explain about complier design(phases)

1079