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 Inheritance if we are implementing Multi level inheritance
and all class having same name of variable and now i want to
access each class variable and how it is possible?

Answer Posted / sabari

We cannot use the same name for all classes.

Is This Answer Correct ?    7 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is java same as core java?

1046


What is a final class ?

1098


Which data type is class in java?

963


What does system.gc() and runtime.gc() methods do?

996


Explain the init method?

928


What is Java Shutdown Hook?

1129


What is string substring?

1111


What is the this keyword?

988


how to create daemon thread in java?

1016


Can we modify the throws clause of the superclass method while overriding it in the subclass?

1004


Can an object be null?

915


What is a java lambda expression?

990


What is the private method modifier?

1039


What is the method in java?

1038


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

958