Which of the following statements is/are true? (Points : 2) A. Objects communicate through message passing.
B. An object must be defined before you can create a class.
C. The state of an object should not be hidden.
D. Implementation details should be visible through the interface of a class.
A and C
All are true
None are true

Respuesta :

Answer:

In the given question option A and C are true.

Explanation:

In object-oriented programming languages (oops).We use the class object concept. As we know the class is a collection of data member and member function and class provide a blueprint for an object. it is a real-time entity. An object is created from a class. So the option "B" is not true, because first, we create the class we create an object of that class. Option"D" is not true because we implement class by the object, not by interface.

Only option "A and c is true".