1.

What does the class definitions in following code represent?

class Bike
{ Engine objEng;
};
class Engine
{ float CC;
};

A. kind of relationship
B. has a relationship
C. Inheritance
D. Both A and B
Answer» C. Inheritance


Discussion

No Comment Found

Related MCQs