← Quiz: UML Class Diagrams: all 10 questions
Quiz: UML Class Diagrams · Question 1 of 10
In a UML class box, what does - balance : double mean?
In a UML class box, what does - balance : double mean?
- A.A public method named balance returning double
- B.A private attribute named balance of type double
- C.A protected static field
- D.A balance that is subtracted
Answer & explanation
Correct answer: A private attribute named balance of type double
- is private, and UML writes the type after the name.
Can you get the rest right without peeking?
Take the timed Quiz: UML Class Diagrams quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →