Welcome Guest | Sign in | Register
Variables and Loops - Discussion Page For Q.2995 | Java Programming Questions and Answers | Java Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Variables and Loops > Questions and Answers

Q: public class Operator {
public static void main(String[] args) {
byte a=5;
int b=10;
int c=a>>2+b>>2;
System.out.print(c);
}
}

What will output when you compile and run the above code?
A. 60 B. 3
C. 0 D. Compiler error

Answer and Explanation

Answer:0

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.