Multiple Choice
If the following is from the method section of a UML diagram, which of the statements shown is true? + equals(object2:Stock) : boolean
A) This is a public method that accepts a Stock object as its argument and returns a boolean value.
B) This is a public method that returns a reference to a String object.
C) This is a private method that receives two objects from the Stock class and returns a boolean value.
D) This is a private method that returns a boolean value.
Correct Answer:

Verified
Correct Answer:
Verified
Q4: When you make a copy of the
Q5: The names of the enum constants in
Q7: An instance of a class does not
Q14: If you write a toString method for
Q21: Enumerated types have the _ method which
Q24: You can use the enum key word
Q24: The "has a" relationship is sometimes called
Q29: You cannot use the fully-qualified name of
Q29: Of the following, which would be considered
Q31: Given the following method header, what will