"Hi, Amigo!"
16
Task
Java Multithreading,
level 8,
lesson 2
Locked
Mastering switch
Implement the switchTest method:
1. Don't use conditional operators.
2. Use 1 switch with 2 cases and 1 default.
3. Expected output:
Output for E1.A: "it's E1.A",
Output for E1.B: "it's E1.B",
Output for E1.C: "it's E1.C",
Output for E1.Y: "it's E1.Y",
Output for E2.D: "it's E2.D".
GO TO FULL VERSION