Multiple Choice
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
Correct Answer:
Verified
Q7: A class's responsibilities include:<br>A) the things a
Q8: Instance methods do not have this key
Q9: A constructor is a method that:<br>A) returns
Q10: One or more objects may be created
Q11: Which of the following is NOT involved
Q13: Which of the following statements will create
Q14: Given the following code, what will be
Q16: Class objects normally have _ that perform
Q17: You should not define a class field
Q48: Instance methods do not have the key