English

Which of the following statements is valid for the objects? - Computer Applications

Advertisements
Advertisements

Question

Which of the following statements is valid for the objects? 

Options

  • They possess same characteristics and behaviour.

  • They possess same characteristics but different behaviour.

  • They possess different characteristics and different behaviour.

  • They possess different characteristics but common behaviour. 

MCQ

Solution

They possess different characteristics but common behaviour. 

Explanation:

Although objects in the same class may differ in terms of their states or attributes, such as variable values, they frequently behave similarly thanks to class-defined methods and functions.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.02: Elementary Concept of Objects and Classes - EXERCISES [Page 16]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.02 Elementary Concept of Objects and Classes
EXERCISES | Q I. 5. | Page 16
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×