Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

core java mcq

String str = “abcde”;
System.out.println(str.substring(1, 3));
//answer: bc 
//s[start]to s[end-1]
Source by www.interviewbit.com #
 
PREVIOUS NEXT
Tagged: #core #java #mcq
ADD COMMENT
Topic
Name
8+9 =