MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of this program? 1. class Output 2. { 3. public static void main(String args[]) 4. { 5. Integer i = new Integer(257); 6. byte x = i.byteValue(); 7. System.out.print(x); 8. } 9. } |
| A. | 0 |
| B. | 1 |
| C. | 256 |
| D. | 257 |
| Answer» C. 256 | |