Java Review Questions Chpt 9-11

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

What modifier makes methods and data fields accessible only from within its own class?

Private

2
New cards

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

3
New cards

Creating an object from a class is known as:

Instantiation

4
New cards

A constructor _______

has the same name as the class

5
New cards

A _____ data field cannot be accessed by an object from outside the class that defines the _____ field.

Private

6
New cards

________ refers to hiding the internal  implementation details of a class from the user.

Encapsulation

7
New cards

Getters and settors are also known as _____ and _____.

accessors and mutators

8
New cards

The illustration of class templates and objects can be standardized by using _____ notation.

UML

9
New cards

The behaviour of an object (also known as its actions) is defined by _____.

Methods