MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output?public class Test{public static void main(String args[]){int a = 42;double b = 42.25;System.out.print((a%10)+" "+(b%10));}} |
| A. | 2 42.5 |
| B. | 2.5 |
| C. | .2 4.225 |
| D. | 4.225 |
| E. | ompilation Error |
| Answer» C. .2 4.225 | |