ExamGecko
Question list
Search
Search

Question 37 - CITM-001 discussion

Report
Export

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

A.

True

Answers
A.

True

B.

False

Answers
B.

False

Suggested answer: A

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.Reference:Object Oriented Approach - Online Tutorials Library,What is object-oriented programming? OOP explained in depth - Educative,Object-oriented programming - Wikipedia

asked 18/11/2024
Helmut Steingraber
33 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first