Ask Question
21 April, 03:52

Classes cannot:

A) Be derived from other classes

B) Initialize data members in the class definition

C) Be used to model attributes and behaviors of objects

D) Include objects from other classes as members

+5
Answers (1)
  1. 21 April, 04:46
    0
    Classes cannot Initialize data members in the class definition.

    B) Initialize data members in the class definition

    Explanation:

    Class is defined by end user data type where it can handle multiple data type and referred to other classes also. Class is also called as data structure object or object class.

    Due to class methods total programming language coding style is changes. For example employee of an organization should hold his or her employee number, address detail, spouse details, salary details

    Where in old style programming language we need to declare separate variable to hold the data types, where we can define employee as class which can hold employee number, address fields, and again define salary details as other class and add employee->employee number where key connect between to class which is called derived class.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Classes cannot: A) Be derived from other classes B) Initialize data members in the class definition C) Be used to model attributes and ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers