File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ranch Office and the fly likes round up questions #114, 122 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » This Site » Ranch Office
Reply Bookmark "round up questions #114, 122" Watch "round up questions #114, 122" New topic
Author

round up questions #114, 122

Paul Bailey
Ranch Hand

Joined: Oct 20, 2000
Posts: 91
Q #114 is not very clear, it uses and example and then the answere don't pertain to that example, except the right one. Perhaps the correct answer should be (when you bit shift by more than the number of bits available your result is) the number bitshifted by the value you input for the bit shift modulo the total number of bits.
for #122, the expalnation starts with "An" and should start with "A".
 
IntelliJ Java IDE
 
subject: round up questions #114, 122
 
Threads others viewed
Bit Shifting
Shift Operators Explanation
Rotating Bits
Confused about bits and bit shifting operators
Rules Round-up #114 (bit-shifting)
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com