explain the phrase" everything is an object "in Computer Science of class 9th
Answers
Answer:
So I defined the objects as below
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
This is so important that I’m going to repeat it in case you missed it the first few times: everything is an object. Strings are objects. Lists are objects. Functions are objects. Even modules are objects.
Answer:
Everything is an object since everything that we see has some attributes and features. That is the quality of the object.
Explanation:
Object
An object is defined as something which has some characteristics and some features. In technical language, we call characteristics attributes and features functionality or behavior.
For example:
Let's take the example of a chair. The chair has characteristics like the color of the chair, cost of the chair, and structure of the chair. And it has the functionality that it is used for sitting.
A human is also an object. Our characteristics are that we have a name, height, and weight. We have features like we can walk, speak, eat, etc.
Everything that you see has some characteristics and features so everything is an object.
#SPJ2