What is inheritance write a program to show use of inheritance?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

What do we mean by a hidden argument in a function?

1 Answers   TCL,


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


what is the new version of c++

1 Answers   Ignou, Pramata, Satyam,


Whatis the difference between oop and object based language

3 Answers  


Generally, in all C++ programs, texts are in white colour. Can we change the colour of the text(either input or output or both)? If so, help me out.

1 Answers  






What are the components of marker interface?

0 Answers  


define oops concept with example

1 Answers   Cap Gemini,


program in c++ that can either 2 integers or 2 floating point numbers and output the smallest number

1 Answers   Anna University,


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

0 Answers  


What are the different forms of polymorphism??

8 Answers   Mantaq, NUC, PCS,


write a program to print * * * * * *

2 Answers  


when to use 'mutable' keyword and when to use 'const cast' in c++

0 Answers   TCS,


Categories