Chemistry, asked by aryansaini0321, 9 months ago

5. Write a short note on Object Oriented Programming.
6. Explain the phrase, "Everything is an object".​

Answers

Answered by shreema2007
5

Answer:

5)Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods).

6)Explanation: In any programming language, the definition is looser; some objects have neither attributes nor methods and not all objects are subclassable. But everything is an object in the sense that it can be assigned to a variable or passed as an argument to a function.

Similar questions