*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes signed shift operator ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "signed shift operator ?" Watch "signed shift operator ?" New topic
Author

signed shift operator ?

sarim raza
Ranch Hand

Joined: Nov 02, 2000
Posts: 232
Select the signed shift opereator(s) of the following.
A.<<<br /> B.<<<<br /> C.>><br /> D.>>>
E.There is no explicit signed shift operator in Java
//i KNOW C IS RIGHT, HOW COME A IS ALSO GIVEN AS THE CORRECT ANSWER?
bill bozeman
Ranch Hand

Joined: Jun 30, 2000
Posts: 1070
A is the left signed shift operator
B is nothing, no such thing as a left unsigned shift operator
C is the right signed shift operator
D is the right unsigned shift operator
E is nonsense
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: signed shift operator ?
 
Similar Threads
unsigned left shift operator!!
>>> operator
operators
Shift operators - question
SIGNED Left Shift operator???