What will be the output of the following Java code?
String a = "helloworld";
a = a.substring(6,8);
System.out.println(a);
Answers
Answered by
5
Answer:
wor
Explanation:
substring function counts from zero
Similar questions