Last active
March 15, 2021 08:51
-
-
Save coolsasindu/1929777567f1d5e7f9a18a08d1269020 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Postfix { | |
public static void main(String args[]){ | |
int i = 5 ; | |
System.out.println(i++); // Output is 6 but its incresed after print | |
System.out.println(i--); // Output is 4 but its Decrement after print | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment