✏️ Explanatory Question

State the values stored in the variables str1 and str2:

String s1 = "good";
String s2 = "world matters";
String str1 = s2.substring(5).replace('t', 'n');
String str2 = s1.concat(str1);

👁 112 Views
📘 Detailed Answer
🟡 Medium
💡

Answer with Explanation

Answer not available right now.