Prashnikaप्रश्निका
Code
About
‹ Back to the paper

Question 45

1 mark

Computer ScienceISC Computer Science - Competency Focused Practice Questions (CISCE, August 2024)OutputArrays, Strings

What is the output of the following code?

Find the output: System.out.println("RocKet".substring(0, 4).compareTo("Rock".replace('m', 'o')));

Answer

Answer

-32