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

An inner class can actually be a subclass of the outer class?

a. true
b. false

Answer Posted / mool shankar shukla

inner class is a class within class. and sub class is a class which inherits method or methods from super class.

example of sub class...........
class a
{}
class b extends a
{}

here b is sub class of a.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between final and effectively final ?

1107


Can singleton class be inherited in java?

999


What is the core java?

948


Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?

1105


Is singleton class thread safe?

996


What is a method header?

1019


What is classes in java?

939


How large is a boolean?

1014


What are the two ways to create a thread?

1008


Can we have any other return type than void for main method?

955


What is null in java?

969


Explain the inheritance?

974


Where will it be used?

1939


what is the major difference between linkedlist and arraylist in java?

1217


What is the difference between a factory and abstract factory pattern?

1144