Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Introduction to Programming Languages/Object Orientation

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Object-Oriented Programming (OOP) is a programming paradigm where a system is modeled as a set of objects that interact with each other. An object is an entity that has: State → stored data (e.g., data, top) Behavior → operations it can perform (methods) OO Language vs OO Programming Object-Oriented Language A language that provides features to support OOP. Examples: Java, Python Object-Oriented Programming A style of programming that uses: Objects Encapsulation Inheritance Polymorphism Exam trap: Using an OO language does NOT guarantee OO programming And OO programming can be simulated in non-OO languages (like SML)