What is the result? Given: What is the result? Given: What is the result? A. box B. nbo C. bo D. nb E. An exception is thrown at runtime Show Hint ← Previous question Next question →
Roger Wilco String product = “PEN”; product.concat(” BOX”.toLowerCase()); product.substring(4, 6); System.out.println(product); Reply
answers is E
e
why not A ?
String product = “PEN”;
product.concat(” BOX”.toLowerCase());
product.substring(4, 6);
System.out.println(product);