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 is nullpointerexception in java?

530


What is the purpose of using the java bean?

576


Explain the differences between static and dynamic variables?

594


In java, how we can disallow serialization of variables?

559


What is package private scope in java?

538






What is 32 bit float?

563


What are recursive functions? Give some examples?

621


Write a function to print Fibonacci series and Tribonacci series?

764


Is space a character in java?

522


Explain about collection interface in java?

556


what are the disadvantages of indexes in oracle?

1867


What are the loops in java?

528


What is double data type?

541


What is the benefit of lambda expressions?

497


What are functions in java?

503