Computer Applications
Related Questions
Creating an object of a class is also referred to as:
- Initialisation
- Creation
- Formation
- Instantiation
An object is an instance of a:
- function
- state
- data
- class
Assertion (A): A car can be defined as a real world object that possesses some characteristics and behaviour.
Reason (R): Each real world object may contain some characteristics but not behaviour.
Based on the above discussion, choose an appropriate statement from the options given below:
- Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A).
- Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A).
- Assertion (A) is true and Reason (R) is false.
- Assertion (A) is false and Reason (R) is true.
A class is a template for its:
- data
- functions
- objects
- methods