Skills101
← All practice quizzes

Quiz: UML Class Diagrams

5 questions · new set on every retakeNo time limitPass: 60%+10 XP on first pass

Read and draw UML class diagrams the way exams and design interviews expect: the class box, visibility symbols, the six relationship arrows, multiplicity, and how each one becomes Java code.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    In a UML class box, what does - balance : double mean?

  2. Question 2

    Which UML symbol means protected?

  3. Question 3

    How is a static attribute shown in a UML class diagram?

  4. Question 4

    A line with a hollow triangle pointing at Vehicle from Car means:

  5. Question 5

    A dashed line with a hollow triangle from UpiPayment to «interface» Payment becomes which Java code?

🎯 Today’s placement challenge — 10 questions, no login. Can you score 10/10?Take today’s challenge →