i've got a liitle bit of a beginer's problem
i have a class dog which i want it to inherit one of the three kinds of dogs either rescue or boom or drug
class dog() public boom , public drug public rescue
but it creates all three kinds
how can i have a dog class which will be able to inherit the three of them but create only on choice ?
thank you in advance .