Java OCA OCP Practice Question 22

Question

Which of the following is not a facet of traditional object-oriented programming languages?

  • A. Objects are grouped as procedures, separate from the data they act on.
  • B. An object can take many forms via casting.
  • C. An object can hold data, referred to as attributes.
  • D. An object can perform actions, via methods.


A.

Note

Options B, C, and D are each attributes of traditional object-oriented programming.

Option A is incorrect since an object-oriented project tends to group data and the actions related to that data into a single object.




PreviousNext

Related