1.

What is the output of this program? import java.lang.System; class Output { public static void main(String args[]) { byte a[] = { 65, 66, 67, 68, 69, 70 }; byte b[] = { 71, 72, 73, 74, 75, 76 }; System.arraycopy(a, 2, b, 3, a.length - 4); System.out.print(new String(a) + " " + new String(b)); } }

A. ABCDEF ABCDEF
B. ABCDEF GHIJKL
C. ABCDEF GHIABC
D. ABCDEF GHICDL
Answer» E.


Discussion

No Comment Found