OBJECT ORIENTED CONCEPTS
OOPS CONCEPTS The popular object-oriented languages are Java, C#,php, Python,c++ etc. The main aim of object-oriented programming is to implement real-world entities. Java is object oriented programming language. Object oriented programming features- 1) inheritance 2) encapsulation 3) abstraction 4) polymorphism - run time polymorphism - compile time polymorphism 5) association 6) composition 7) aggregation. Object Any entity that has state and behavior is known as an object. For example, a chair, pen, table, keyboard, bike, etc. It can be physical or logical. Class Collection of objects is called class. It is a logical entity. A class can also be defined as a blueprint from which you can create an individual object. Class doesn't consume any space.