Create a free account on Computer Sir Ki Class and unlock access to valuable learning resources.
Exam Paper Downloads: After registering and logging in, you can download exam question papers in PDF format to practice and prepare for your exams.
Student Support: Get assistance with your doubts, queries, and questions related to your studies. Our support is here to help you understand topics and resolve your learning difficulties.
Register today and make your exam preparation easier and more effective!
Explanation for first print statement:
strl.substring(0,2) gives “gr”
str2.substring(l) “inds”
The two on concatenation gives “grinds”
Explanation for second print statement
strl.substring(2) gives “eat”
“eat” on conversion to upper case using the function toUpperCase() results in EAT
“WH” on concatenation with “EAT” using + gives “WHEAT
C. Sir| Created: 17-Apr-2019 | Updated: 17-Apr-2019|ICSE2014