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 methods in java?

752


What is adapter in java?

716


Why chararray() is preferred over string to store the password?

768


What classes of exceptions may be thrown by a throw statement?

749


Can java run on google chrome?

891


What is the size of int in 64-bit jvm?

786


What is a generic code?

739


What is pangram in java?

771


How can we access some class in another class in java?

774


What are mutable classes?

737


What is an example of a constant variable?

800


what is singleton class in java?

815


What is ++ a in java?

767


What is appletviewer?

805


Can you declare the main method as final?

730