Plasma_Snake
Indidiot
Consider a scenario;
class2 extends class1
{
--some code--
}
class3 extends class2
{
--some code--
}
Now since its a text book example of Hierarchical Inheritance, is it possible:
class2 extends class1
{
--some code--
}
class3 extends class2
{
--some code--
}
Now since its a text book example of Hierarchical Inheritance, is it possible:
- for class3 to access a method of class1?
- If Super is used whose Constructor is called, class1's or class2's ?
- Is there a provision of "Friend" type access specifier that can enable the usage of Private members of Super class in a sub class?