Back to marketplace

Chapter 8

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

Total cards: 13•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (13)

#1
Front (Question)

What is an actor class?

Back (Answer)

A type of class in which the objects carry out certain tasks.

#2
Front (Question)

What are two examples of an actor class?

Back (Answer)

Scanner and Random

#3
Front (Question)

What is a Utility class?

Back (Answer)

classes with no objects, but it contains a collection of related static methods and constants

#4
Front (Question)

What is an example of a utility class?

Back (Answer)

Math

#5
Front (Question)

What is a immutable class

Back (Answer)

a class with no mutator methods to change contents of String

#6
Front (Question)

What is an example of an immutable class?

Back (Answer)

String

#7
Front (Question)

When is a public interface cohesive?

Back (Answer)

if all of its features are related to the concept that the class represents

#8
Front (Question)

What is a public interface?

Back (Answer)

the set of public constructors and public methods that someone using your class has access to.

#9
Front (Question)

What are dependencies?

Back (Answer)

When a class depends on another (uses another’s methods/variables)

#10
Front (Question)

What is UML

Back (Answer)

“Unified Modeling Language”, which is a notation for object-oriented analysis and design.

#11
Front (Question)

What is a side effect?

Back (Answer)

A modicfication of data that is obserable outside the method.

#12
Front (Question)

What is consistency?

Back (Answer)

When one follows a consistent scheme for a class’ method names and parameter variables.

#13
Front (Question)

What is the difference between a call by value and a call by reference?

Back (Answer)

Every call is by value, but with objects, the value is a reference - and the reference can be mutated.