Can private members of a base class are inheritable justify?



Can private members of a base class are inheritable justify?..

Answer / Brajmohan Kumar

No, private members in a base class cannot be inherited by subclasses because they have the access level restricted to only the defining class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

How many types of memory areas are allocated by jvm?

1 Answers  


what is hashmap& hashtable with example?

1 Answers   CTS,


What is an object's lock and which object's have locks in java programming?

1 Answers  


What is type casting?

2 Answers  


What is 'finally' method in Exceptions?

4 Answers  


what difference between throw and throws in exception handling.

5 Answers  


What is the right data type to represent a price in java?

1 Answers  


Can we declare a static variable inside a method?

1 Answers  


Can we execute a program without main?

1 Answers  


Is there any need to import java.lang package?

13 Answers   Sun Microsystems,


What do heavy weight components mean in java programming?

1 Answers  


what is wrapper class and its uses?

2 Answers  


Categories