In Oops concept 4 parts Encapsulation, Inheritance, Abstraction, Polymorphism are inter related parts. In these four concepts except Encapsulation all are completed in the previous articles. The completed articles are
“What Is Inheritance In Oops? Real Time Example? Program ? Advantages And Disadvantages?”
“What is Polymorphism? Types of Polymorphism? Real Time Examples”
“What is Abstraction? Real Time Example for Abstraction, Advantages and Disadvantages of Abstraction”
Now freshers junction blog explains What is Encapsulation, Real Time Example of Encapsulation, Advantages & Disadvantages.
OR
“Writing operations and methods stored in a single class”
- Code changes can be made independently
- Increases usability
Conclusion:
If you have any queries on this topic “What is Encapsulation, Real Time Example of Encapsulation, Advantages & Disadvantages”, comment here. Freshers junction blog is always here to help you.
You may also search in Google as:
What is Encapsulation, Encapsulation advantages & disadvantages. Real time example of Encapsulation, encapsulation definition, advantages of Encapsulation, disadvantages of Encapsulation, Encapsulation real time example, general example of Encapsulation, Encapsulation in java, Encapsulation in .Net, Encapsulation in Oops, definition of Encapsulation. All about Encapsulation is over here.
“What Is Inheritance In Oops? Real Time Example? Program ? Advantages And Disadvantages?”
“What is Polymorphism? Types of Polymorphism? Real Time Examples”
“What is Abstraction? Real Time Example for Abstraction, Advantages and Disadvantages of Abstraction”
Definition of Encapsulation:
Definition of Encapsulation is “Wrapping up data member and method together into a single unit”OR
“Writing operations and methods stored in a single class”
Real Time example of Encapsulation:
The best example of car driving, car driver knows how to start car by pressing start button. The driver doesn't know what happened inside when pressing start button. Here the starting process is hidden from driver. So this process can be called as “starting process is encapsulated from driver”Advantages of Encapsulation:
- The main advantage of Encapsulation is, when using objects, the object need not reveal all its attributes and behaviors.- Code changes can be made independently
- Increases usability
Disadvantages of Encapsulation:
- The main drawback or disadvantage of encapsulation is that it relies heavily on standards to maintain readabilityConclusion:
If you have any queries on this topic “What is Encapsulation, Real Time Example of Encapsulation, Advantages & Disadvantages”, comment here. Freshers junction blog is always here to help you.
You may also search in Google as:
What is Encapsulation, Encapsulation advantages & disadvantages. Real time example of Encapsulation, encapsulation definition, advantages of Encapsulation, disadvantages of Encapsulation, Encapsulation real time example, general example of Encapsulation, Encapsulation in java, Encapsulation in .Net, Encapsulation in Oops, definition of Encapsulation. All about Encapsulation is over here.
2 comments:
What are the disadvantages of encapsulation ten points
1What are the different between paper records and records preservation ten points
2 difference between electronic records and paper life cycle
Post a Comment