Created
October 5, 2016 15:14
-
-
Save ninijay/18c3292a059fe267e3b912680a9f07a5 to your computer and use it in GitHub Desktop.
bit shifting in java created by ninijay - https://repl.it/Doxs/0
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 Main { | |
public static void main(String[] args) { | |
int a = 300 * 4; | |
int b = 300 << 2; | |
System.out.println(a); | |
System.out.println(b); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment