Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Why do we use encapsulation in oops?

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

Post New Answer

More OOPS Interview Questions

There are 2 classes defined as below public class A { class B b; } public class B { class A a; } compiler gives error. How to fix it?

3 Answers   Microsoft,

i ahve v low % in 12th n BSC which is aroun 50 coz science was imposed on me......nw m doin MCA n my aggregate in above 74%,what shud i say if asked about low previous percentage??????

4 Answers  

What is the different between Applet and Application?

2 Answers  

Why is it so that we can have virtual constructors but we cannot have virtual destructors?

2 Answers  

what is virtual destructor

7 Answers   L&T, TCS,

Why it is called runtime polymorphism?

0 Answers  

is there any choice in opting subjects like 4 out of 7

0 Answers  

Why we are use # in begning of programme of c++.

2 Answers   Syntel,

#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }

2 Answers   TCS, Wipro,

What normal C constructs work differently in C++?

2 Answers  

what is the new version of oops

0 Answers   Ignou,

Write a program to sort the number with different sorts in one program ??

0 Answers   NIIT,