Back to marketplace

Chapter 4

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

State

Back (Answer)

what does the object know?

#2
Front (Question)

behaviors

Back (Answer)

what does it do?

#3
Front (Question)

Methods define

Back (Answer)

behaviors

#4
Front (Question)

class

Back (Answer)

blueprint of an object ex: s.toUppercase();

#5
Front (Question)

string class is provided, but we can

Back (Answer)

make our own classes

#6
Front (Question)

constructor method instantiates

Back (Answer)

an object EX: new Scanner(System.in)

#7
Front (Question)

face variable in the Coin class

Back (Answer)

is called instance data or instance variable

#8
Front (Question)

___ variables point directly at its values in memory

Back (Answer)

primitive ex: int, double, boolean

#9
Front (Question)

____ variables point to the object’s address

Back (Answer)

reference variables ex: string

#10
Front (Question)

abstraction

Back (Answer)

can use object without knowing how they work

#11
Front (Question)

Encapsulation

Back (Answer)

seperates external from internal, the plastic of the black box

#12
Front (Question)

Encapsulation internal

Back (Answer)

variables object holds and the methods that make the object useful

#13
Front (Question)

Encapsulation external

Back (Answer)

the service that an object provides and how it interacts

#14
Front (Question)

Self governing

Back (Answer)

change to and object’s state should be made through the methods

#15
Front (Question)

Two visibilty modifiers

Back (Answer)

public and private

#16
Front (Question)

public visibility

Back (Answer)

class interface, methods

#17
Front (Question)

private visibility

Back (Answer)

Internal to the object, private

#18
Front (Question)

private variables

Back (Answer)

getters/accessors, and setters/mutators

#19
Front (Question)

Code for getter/setter

Back (Answer)

get()/set()

#20
Front (Question)

Driver program

Back (Answer)

controls and tests other parts of the program

#21
Front (Question)

Method

Back (Answer)

runs programs when the method is called

#22
Front (Question)

Method changes flow of control by

Back (Answer)

making it jump to the code within the method and then jumping back

#23
Front (Question)

method header blueprint

Back (Answer)

visibility return-type method-name(parameter list) {method body}

#24
Front (Question)

scope

Back (Answer)

area in which a variable is defined and can be used