Questions


August 2021 0 45 Report
Predict the output for the following functions: String st1 = "India";
String st2 = "Wins";
String st3 = 'World Cricket Cup 2019");
(i) System.out.println(st1+st2+st3);
(ii) System.out.println(st3.length());
(iii) System.out.println(st3.subString(14,22));
(iv) System.out.println(st3.charAt(0) + st3.charAt(6) + st3.charAt(14));
if u know then only answer my question pl don't spam​

Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.