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

In Inheritence concept, i have a static method in super
class and i am inheriting that class to one sub class.in
that case the static method is inherited to sub class or
not????

Answer Posted / ramana

As per my knowledge static method can not be inhertated ,
but we use the same concept provideing that method hidding
concept.i.e we should not override the super class static
method in subclass.we just declare in subclass under
hidding concept.

Is This Answer Correct ?    5 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between superclass and subclass?

1105


Explain all java features with real time examples

1676


What is thread synchronization in java?

869


What is procedure writing?

922


Explain about doubly linked list

987


Which eclipse is best for java?

970


What are the different access modifiers available in java?

998


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

944


Why can't we use static class instead of singleton?

901


Does apple use java?

903


Why should we use singleton pattern instead of static class?

904


What is consumer interface?

960


How big is a boolean?

989


Can we have multiple catch block for a try block?

950


Can we nested try statements in java?

1054