SHARE
TWEET

Untitled

a guest Jun 21st, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class TesteSwitch {
  2.     public static void main(String[] args) {
  3.         int i = 1;
  4.         switch (i) {
  5.             case 1:
  6.                 System.out.println(1);
  7.                 break;
  8.  
  9.             case 2 :
  10.                 System.out.println(2);
  11.                 break;
  12.  
  13.             case 3:
  14.                 System.out.println(3);
  15.                 break;
  16.         }
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top