1 votes 1 votes class dog : public x,public y is an example of multiple inheritance repeated inheritance linear inheritance none Meenakshi Sharma asked Sep 5, 2016 edited Sep 19, 2016 by go_editor Meenakshi Sharma 3.2k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes ans is A here class dog is publicly deriving from 2 classes x and y so it will inherit the properties of both x,y hence it is a case of multiple inheritance Sanjay Sharma answered Sep 5, 2016 selected Sep 5, 2016 by Meenakshi Sharma Sanjay Sharma comment Share Follow See all 0 reply Please log in or register to add a comment.