nerdexam
GAQM

CITM-001 · Question #7

In object-oriented approach, program consists of interrelated classes of objects.

The correct answer is A. True. In object-oriented approach, a program is composed of classes and objects that interact with each other through messages. A class is a blueprint that defines the attributes and behaviors of a group of similar objects. An object is an instance of a class that has its own state…

IT Operations and Infrastructure Management

Question

In object-oriented approach, program consists of interrelated classes of objects.

Options

  • ATrue
  • BFalse

How the community answered

(38 responses)
  • A
    95% (36)
  • B
    5% (2)

Explanation

In object-oriented approach, a program is composed of classes and objects that interact with each other through messages. A class is a blueprint that defines the attributes and behaviors of a group of similar objects. An object is an instance of a class that has its own state and can perform actions defined by the class. Objects can be related to each other through different types of relationships, such as inheritance, association, aggregation, and composition. Object-oriented approach aims to model the real-world entities and problems in terms of objects and their interactions, making the program more modular, reusable, and maintainable.

Topics

#object-oriented programming#classes#objects

Community Discussion

No community discussion yet for this question.

Full CITM-001 Practice