Advertisements
Advertisements
Question
Write the output of the codes given below.
String sc = "CLOCК"; String st = "TIME";
int sclen = sc.length();
String p1 = st.substring(0, 2); String p2 = sc.substring (3, sclen);
System.out.print(p1 + p2);Very Short Answer
Advertisements
Solution
TICK
shaalaa.com
Is there an error in this question or solution?
