MCQOPTIONS
Saved Bookmarks
| 1. |
What will this code print?public class array { public static void main(String args[]) { int arr[] = new int [7]; System.out.print(arr); } } |
| A. | [I@2a139a55 |
| B. | Runtime Error |
| C. | 0 0 0 0 0 0 0 |
| D. | Compilation error |
| E. | None of these |
| Answer» B. Runtime Error | |