Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

signed shift operator ?

 
sarim raza
Ranch Hand
Posts: 232
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1070
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic