What is displayed by the following code?
public static void main(String[] args) {
String[] tokens = "Welcome to Java".split("o");
for (int i = 0; i < tokens.length; i++) {
System.out.print(tokens[i] + " ");
}
}
a. Welcome to Java
b. Welc me to Java
c. Welc me t Java
d. Welcome t Java
c
Computer Science & Information Technology
You might also like to view...
Which Windows command and switch would be used to purge the PC's NetBIOS cache and reload entries from the local LMHOSTS file?
A) nbtstat -d B) netstat -R C) nbtstat -R D) netstat -d
Computer Science & Information Technology
Which device would be found in the miniPCIe form factor?
A) Wireless NIC B) USB device C) PC Card D) ExpressCard
Computer Science & Information Technology