1/8
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
What modifier makes methods and data fields accessible only from within its own class?
Private
The collection of public constructors, methods, and fields that are accessible from outside the class, together with the description of how these members are expected to behave, serves as the _____.
Class’s contract
Creating an object from a class is known as:
Instantiation
A constructor _______
has the same name as the class
A _____ data field cannot be accessed by an object from outside the class that defines the _____ field.
Private
________ refers to hiding the internal implementation details of a class from the user.
Encapsulation
Getters and settors are also known as _____ and _____.
accessors and mutators
The illustration of class templates and objects can be standardized by using _____ notation.
UML
The behaviour of an object (also known as its actions) is defined by _____.
Methods