Solved

If the Following Is from the Method Section of a UML

Question 31

Multiple Choice

If the following is from the method section of a UML diagram, which of the following statements is TRUE?
+ add(object2:Stock) : Stock


A) This is a private method named add that accepts and returns objects of the Stock class.
B) This is a private method named Stock that adds two objects.
C) This is a public method named add that accepts and returns references to objects in the Stock class.
D) This is a public method named Stock that adds two objects.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions