

MCQOPTIONS
Saved Bookmarks
1. |
What is the output of this program?
public class String_Example { public static void main(String args[]) { int ascii[] = { 80, 75, 70, 90}; String obj = new String(ascii, 1, 3); System.out.println(obj); } } |
A. | KFZ |
B. | KZF |
C. | FKZ |
D. | ZFK |
E. | ZKF |
Answer» B. KZF | |