We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53f0af9 commit 82a2ba3Copy full SHA for 82a2ba3
operator1.java
@@ -1,5 +1,7 @@
1
-public class shift_operator {
2
- public static void main(String[] args) {
+public class shift_operator
+{
3
+ public static void main(String[] args)
4
+ {
5
System.out.println(10<<3);//left shift(10*2^3)
6
System.out.println(10<<2);
7
System.out.println(10>>3);//right shit(10/2^3)
0 commit comments