What is difference between data abstraction and encapsulation?
No Answer is Posted For this Question
Be the First to Post Answer
What is a class in oop?
Write a program to demonstrate the use of 'Composition' in C++
//what is wrong with the programme?? #include<iostream.h> template <class first> class dd { first i; public: void set(); void print(); }; void dd< first>:: set() { cin>>i; } void dd< first>::print() { cout<<"\n"<<i; } void main() { dd <char>g; g.set(); g.print(); }
Can you inherit a private class?
Why do we use oops?
What is the benefit of oop?
What is abstraction and encapsulation?
What are the benefits of oop?
Iam doing my project on instant messaging , if you any new ideas regarding this project ,please suggest 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 sub classing in c++?
How to call a non virtual function in the derived class by using base class pointer