What is the correct answer?


When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.

A. True

B. False

Correct Answer :

A. True

Related Questions

putValue(...) method takes _____________________- We would like to make a member of a class visible in all subclasses regardless… Which of the following will produce a value of 10 if x = 9.7? In RMI we invoke client method from remote server DataInput is Which key word can protect a class in package from accessibility by the… It is an error if a class with one or more abstract methods is not explicitly… A string object can not be modified after it is created. The keywords reserved but not used in the initial version of Java re: Which of the following represent legal flow control statements? JdbcOdbcDriver is an object of Object class Every method of a final in class is implicitly final. Which of the following control expressions are valid for an if statement? The methods wait() and noify() are defined in All the bitwise operators have the same level of precedence in Java. The expression (x == y && a<b) is true If either x == y is true or… The programmer must explicitly create the system .in and system .out objects. We can over load methods with differences only in their return type. A method declared as static can not access non-static class members. Which of the following are the wrapper classes? If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… Members of a class specified as private are accessible only to the methods… When we implement an interface method, it should be declared as public. Session bean Which of the following command lines options generates documentation for… It is perfectly legal to assign a subclass object to a supper class reference. Every call to wait has a corresponding call to notify that will eventually… It is an error to have a method with the same signature in both the super… Two methods cannot have the same name in Java. The break statement is required in the default case of a switch selection…