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

can we access the super class method using subclass object?

Answer Posted / azeem

Yes, you can acess the super class method by using the
subclass object because the super class methods are visible
to subclasses if not overriden. If the method is overriden,
then acess the super class method by using super.methodname

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we extend a class with private constructor?

1010


Which sorting algorithm is in place?

972


Why do we need array in java?

1018


What is a short in java?

1048


What is class??

1241


What is the difference between instanceof and isinstance?

1061


Discuss 2D arrays.

1051


What is the collections api in java programming?

980


How many digits can a float hold?

1012


Is null or empty java?

988


Can singleton class be serialized?

951


If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

1153


What is use of set in java?

1005


What is the independent variable in an experiment?

960


What is a file pointer?

1083