Objects and Classes - Modifiers - Derives Properties

3 important questions on Objects and Classes - Modifiers - Derives Properties

We also have another attribute on Member, hasAdultPrivileges of type Boolean. If you look carefully, you will see that we precede the attribute name by a slash (“/”).

This has a special meaning within

What does it mean?

It indicates that the attribute value is DERIVED.

What does a derrived attribute means?

A derived attribute’s value can be calculated as needed based on other attributes or available properties

What is common to use in a derrived attribute?

It is common to name Boolean properties or operations with the form hasProperty or isInState, in order than using a True or False value is natural

The question on the page originate from the summary of the following study material:

  • A unique study and practice tool
  • Never study anything twice again
  • Get the grades you hope for
  • 100% sure, 100% understanding
Remember faster, study better. Scientifically proven.
Trustpilot Logo