✏️ Explanatory Question

Give the output of the following string functions:

  1. "MISSISSIPPI".indexOf('S') + "MISSISSIPPI".lastIndexOf('I')
  2. "CABLE".compareTo("CADET")

👁 99 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

Answer not available right now.