‹ Back to the paper
Find the output: System.out.println("RocKet".substring(0, 4).compareTo("Rock".replace('m', 'o')));
Answer
Answer
AI-32
From ISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024), question 45.