MCQOPTIONS
Saved Bookmarks
| 1. |
What does the following Java function perform? (Assume int occupies four bytes of storage) |
| A. | Returns the int that has the binary representation of integer a |
| B. | Return the int that has the reversed binary representation of integer a |
| C. | Return the int that represents the number of 1’s in the binary representation of integer a |
| D. | Return the int that represents the number of 0’s in the binary representation of integer a |
| Answer» C. Return the int that represents the number of 1’s in the binary representation of integer a | |