Java Programming Tutorial – 9 – Increment Operators

By | 2015년 4월 1일

package hello;
import java.util.Scanner; 

public class apples {
    public static void main(String[] args) {
		Scanner bucky = new Scanner(System.in);
		
		int tuna = 5;
		int bass = 18;
        tuna *=8;
		System.out.println(++tuna);
		System.out.println(--tuna);
	}
};
Print Friendly, PDF & Email