This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
We Have two Classes A and B a is a method in A b is a method in B When we inherit Class A into B After that we create a object referance to Class B Then what happend in heap area. Whether two objects are created or only object is created for B
Not all members will be inherited ;-). Only public and protected members will be inherited.if the subclass belongs to the same package as that of super class, then default members in the super class will also be inherited.