Q8Software Engineering
Question
What do you mean by OO concept. Write 3 OO principles.
Answer
Object-Oriented concepts model real-world entities using encapsulated data and behavior; core principles include Encapsulation, Inheritance, and Polymorphism.
The Object-Oriented (OO) concept is a programming paradigm that physically maps real-world entities into RAM as "Objects" containing both state and algorithmic behavior. Three absolutely unbreakable OO principles are: 1) Strict Encapsulation (hiding private data), 2) Inheritance (hierarchical code reuse without duplication), and 3) Polymorphism (a single interface dynamically executing mathematically different underlying code).