Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TesteSwitch {
- public static void main(String[] args) {
- int i = 1;
- switch (i) {
- case 1:
- System.out.println(1);
- break;
- case 2 :
- System.out.println(2);
- break;
- case 3:
- System.out.println(3);
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement