Question OOP-CLS-0002
EasyWhat is an object?
- A.
A file stored on disk
- B.
A type of variable that can't change
- C.
Show answer and explanation
Answer: C
Each object has its own copy of the instance data defined by its class.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Classes and Objects question
What is an object?
A file stored on disk
A type of variable that can't change
Answer: C
Each object has its own copy of the instance data defined by its class.
An instance of a class
A keyword used for loops