public class operator1 { public static void main(String args[]) { int x = -10; System.out.print(x>>1); int y = 20; System.out.println(y>>1); } } code example
Example: public class HelloWorld{ public static void main(String []args){ System.out.println("Hello World"); } }
public class HelloWorld{
public static void main(String []args){
System.out.println("Hello World");
}
}