Which of the following statements is true?

a. The UML models a parameter of an operation by listing the parameter name, followed by a colon and the parameter value between the parentheses after the operation name.
b. The UML indicates an operation’s return type by placing a colon and the return value after the parentheses following the operation name.
c. UML class diagrams do not specify return types for operations that do not return values.
d. Declaring instance variables public is known as data hiding or information hiding.

c. UML class diagrams do not specify return types for operations that do not return values.

Computer Science & Information Technology

You might also like to view...

What kinds of publications benefit from having multiple layers?

What will be an ideal response?

Computer Science & Information Technology

Which is not a typical application of queues?

a) Routing packets in a computer network b) File server handling file access requests from many clients c) High-speed sorting d) Print spooling

Computer Science & Information Technology