Concept of Object-Oriented Programming Concept Object Oriented Programming is performed by using class and object. Class is a set of States and behaviors. Class is also known as a blue print of an object. Class is called an Object factory where more than one object is created. The object is used for accessing all the functionality of Class. An example of Class and Object is CAR----> It is a class Wagon R, Maruti 800, Alto, Seltos, etc are examples of objects. Object-Oriented Principle:- Encapsulation:- It is a process of binding the data and method in a single unit. A general example of encapsulation is Capsules, Bike, Cake, and others where the data is wrapped in a single unit. The Class is also an example of Encapsulation because Class also binds the state and behavior. Abstraction: Abstraction is a process where only essential information is shown for use and unnecessary information about an object is hidden from the user. ATM is an example of Abstraction where users...
Computer Knowledge Zone (Think Different)
In this site you may learn about new Triks in Computer. Follow me on my YouTube Channel https://www.youtube.com/DailyBytesPrayagraj