What does the following UML diagram entry mean?
+ setHeight(h : double) : void
A) this is a public attribute named Height and is a double data type
B) this is a private method with no parameters and returns a double data type
C) this is a private attribute named Height and is a double data type
D) this is a public method with a parameter of data type double and does not return a value
Correct Answer:
Verified
Q13: Data hiding, which means that critical data
Q14: The scope of a private instance field
Q16: Two or more methods in a class
Q17: A constructor:
A) always accepts two arguments
B) has
Q20: A UML diagram does not contain:
A) the
Q21: This is a group of related classes.
A)
Q22: In UML diagrams, this symbol indicates that
Q23: When an object is created, the attributes
Q39: A class specifies the _ and _
Q58: Methods that operate on an object's fields
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents