OLABs 9-36 (a.p. java programming)

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

in UML notation, an attribute that is public is preceded by what symbol?

+

in UML notation, an attribute that is private is preceded by what symbol?

-

give an example of a value for an attribute called numberOfWithdrawals if it is of type int

1, 2, 3, 30, etc

what is an abstract class?

a class that cannot be directly instantiated

what is an interface?

a class that consists of only method signatures

an object-oriented software class is said to encapsulate what?

behavior

how are the private attributes of a class accessed?

by using get and set accessors

what are the cardinality symbol's meaning? 1 1...* * 0...3

one one to many many zero to three

a subclass inherits attributes and methods from another class. what is the name of this class from which it inherits?

superclass

what determines the state of an object?

the attribute values

a class provides an additional way to modularize code that is not available in procedural programming

true

an object is created from a class

true


Ensembles d'études connexes

Quiz 2: Atoms, Molecules, Properties of Water and pH

View Set

American History Unit 2 (11th Grade)

View Set

Study.com Chapter 2,3, Health Care Delivery System

View Set

Biology Chapter 20 Homework + Module

View Set

31. 2 the central nervous system

View Set