What will be the output of the following program ?
Note:Includes all required header files
class find { public: void print() { cout <<" In find"; } };
class course : public find { public: void print() { cout <<" In course"; } };
class tech: public course { };
int main(void)
{
tech t;
t.print();
return 0;
}
Which among the following best describes the Inheritance ?
How many basic types of inheritance are provided as OOP feature ?
Which among the following best defines single level inheritance ?
Which among the following is correct for multiple inheritance ?
Which programming language doesn’t support multiple inheritance ?
Which among the following is correct for a hierarchical inheritance ?
Which is the correct syntax of inheritance ?
Which type of inheritance leads to diamond problem?
Which access type data gets derived as private member in derived class ?
If a base class is inherited in protected access mode then which among the following is true ?