OLABs 9-36 (a.p. java programming)
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