Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Switch
//'main' method must be in a class 'Rextester'. //openjdk version '11.0.5' //Switch class Rextester { public static void main(String[] args) { int stationary = 3; // choose case item number switch (stationary) { case 1: System.out.println("Pens"); break; case 2: System.out.println("Pencils"); break; case 3: System.out.println("Paper"); break; case 4: System.out.println("Rulers"); break; case 5: System.out.println("Calculators"); break; case 6: System.out.println("Erasers"); break; case 7: System.out.println("Highlighters"); break; } } }
run
|
edit
|
history
|
help
0
else weird
Oh no
4.A
BST
Человечки
Hi Hypotaneous
reverse Linked List
Queue implementation
Problem: rstring
DecoratedFrame.java