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

Why is a singleton bad?

771


Differentiate between == and equals().

817


What is Applet Stub Interface ?

2201


What are the problems faced by java programmers who don't use layout managers?

764


How to display all the prime numbers between 1 and 100

739


Which sorting algorithm is in place?

752


What do you mean by local variable and instance variable?

746


what type of questions asked for barclays technologies pune please send urgent

5466


what is the significance of listiterator in java?

849


Difference between current previous versions of Java?

812


Can I override protected method in java?

830


What is integers and example?

734


How do you compare values in java?

826


Which object oriented concept is achieved by using overloading and overriding?

842


Can java hashmap have duplicate keys?

753