What is inheritance write a program to show use of inheritance?
No Answer is Posted For this Question
Be the First to Post Answer
write a program to enter a string like"sunil is a good boy and seeking for a job" not more than 10 characters including space in one line,rest characters should b in other line.if the next line starts from in between the previous word,then print whole word to next line.
Base class has two public data members. How can i derive a new class with one datamember as public and another data member as private?.
What is encapsulation with real life example?
Why is there no multiple inheritance?
Why it is called runtime polymorphism?
What is difference between multiple inheritance and multilevel inheritance?
What is inheritance write a program to show use of inheritance?
3. Differentiate verification and validation.
Why is oop better than procedural?
i got a backdoor offer in process global,Bangalore..Can i work with it?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
What is interface in oop?