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

What are thread local variables?

547


Give an example of call be reference significance.

607


What is the default value of float and double datatype in java?

532


What is the difference between equals() and == in java?

521


Is hashset sorted in java?

660






What should I import for arraylist in java?

506


What is append in java?

627


What is an example of a constant variable?

527


Explain abstract class in java?

556


Can we override the overloaded method?

561


What is a pattern what is an anti pattern?

504


What is object english?

583


Difference between final and effectively final ?

630


How to sort array in descending order in java?

509


How do you convert string to int in java?

558