✏️ Explanatory Question

State the output when the following program segment is executed:

String a ="Smartphone", b="Graphic Art";
String h=a.substring(2, 5);
String k=b.substring(8).toUpperCase();
System.out.println(h);
System.out.println(k.equalsIgnoreCase(h));

👁 104 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Answer not available right now.