fork download
  1. package 20190426;
  2. //연산자
  3. // L. 증감연산자 : ++, --
  4. public class OperEx01 {
  5. public static void main(String[]args) {
  6.  
  7. int a =100;
  8. int b = 100;
  9.  
  10. //a = a + 1;
  11. //a ++;
  12. //b --;
  13.  
  14. b = a++;
  15.  
  16.  
  17.  
  18. System.out.pritnIn("a = "+ a + ",b = "+b);
  19. }
  20. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:1: error: <identifier> expected
package 20190426;
       ^
1 error
stdout
Standard output is empty