MCQOPTIONS
Saved Bookmarks
| 1. |
Determine output:public class Test{static int i = 5;public static void main(String... args){System.out.println(i++);System.out.println(i);System.out.println(++i);System.out.println(++i+i++);}} |
| A. | 6 6 16 |
| B. | 7 6 16 |
| C. | 6 7 16 |
| D. | 6 6 16 |
| E. | one of these |
| Answer» D. 6 6 16 | |