Inheritance of constructors
Hi, I want to inherit class B from class A and I have a constructor function which takes 1 parameter in class A.
As far as I know when I create a B object than it executes the constructor functions of two of them(A and B). But I dont know how to pass a parameter to A's constructor.
Thanks for ur helps.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement