What is the real time example of encapsulation?


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

Post New Answer

More OOPS Interview Questions

what is data abstraction with example.

1 Answers  


Define a class to represent a bank account. Include the following members: Data Members: Name of the Depositor Account Number Type of Account Balance amount in the account Member Functions: To assign the initial values. To deposit an account. To withdraw an amount after checking the balance. Write a C++ main program to display account number, name and balance.

6 Answers  


why reinterpret cast is considered dangerous?

0 Answers   TCS,


what is main difference between object oriented object base

2 Answers   Wipro,


class type to basic type conversion

0 Answers  






Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


Do you know about multiple inheritance?

0 Answers   Motorola,


the difference between new and malloc

5 Answers   Siemens,


some one give d clear explanation for polymorphism

3 Answers  


What is class and object with example?

0 Answers  


What is the highest level of cohesion?

0 Answers  


What are virtual functions?

2 Answers  


Categories