Which of the following statements is not correct? a. In UML, access modifiers can be used to
Question:
Which of the following statements is not correct?
a. In UML, access modifiers can be used to specify who can have access to a variable or method.
b. A private access modifier (denoted by the symbol “–”) is used in the case that the variable or method can only be accessed by the class itself.
c. A public access modifier (denoted by the symbol “+”) is used in the case that the variable or method can be accessed by any other class.
d. A protected access modifier (denoted by the symbol “#”) is used in the case that the variable or method can be accessed by both the class and its superclasses.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
Principles Of Database Management The Practical Guide To Storing Managing And Analyzing Big And Small Data
ISBN: 9781107186125
1st Edition
Authors: Wilfried Lemahieu, Seppe Vanden Broucke, Bart Baesens
Question Posted: