Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package out;
- public class Test {
- public static void main(String[] args) {
- int a=1;
- int b=2;
- int c;
- int d;
- c=++b;
- d=a++;
- c++;
- System.out.println("a= "+a);
- System.out.println("b= "+b);
- System.out.println("c= "+c);
- System.out.println("d= "+d);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement