subject

Fill in each blank with the correct answer/output. Assume each statement happens in order and that one statement may affect the next statement. String one = "sambenwilearethebest"; String two = "09876543210"; String three = "02 13 97 68 45 0"; System. out. print( one. length());// LINE 1System. out. print( two. length());// LINE 2System. out. print( three. length());// LINE 3System. out. print( one. charAt( 2 ) );// LINE 4System. out. print( one. charAt( 5 ));// LINE 5System. out. print(one. charAt(one. length()-1));// LINE 6System. out. print( one. charAt( 6 ) );// LINE 7System. out. print( one. substring(0,4) );// LINE 8System. out. print( one. substring(5) );// LINE 9System. out. print( one. substring(9) );// LINE 10System. out. print( one. substring(2,7));/ LINE 11 System. out. print( one. indexOf("abc") ); // LINE 12 System. out. print( one. indexOf("e") ); // LINE 13 System. out. print( one. indexOf("hij") ); // LINE 14 System. out. print( two. indexOf("54")); // LINE 15 System. out. print( two. indexOf("24")); // LINE 16 System. out. print( one. indexOf( 'w' )); // LINE 17 System. out. print( two. indexOf( 'b' )); // LINE 18 System. out. print( two. indexOf( 's' )); // LINE 19 System. out. print( three. indexOf("45")); // LINE 20 1. 20 2. 11 3. 16 4. m 5. n 6. t 7. w 8. samb 9. nwilearethebest 10. earethebest 11. mbenw 12.-1 13. 4 14.-1 15. 5 16.-1 17. 6 18.-1 19.-1 20.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:40
What are the three uses of a screw?
Answers: 2
question
Computers and Technology, 23.06.2019 11:30
Which excel file extension stores automated steps for repetitive tasks?
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
question
Computers and Technology, 25.06.2019 04:00
Has anyone noticed that has been giving the wrong answers and that the ads are blocking answers or is that just me?
Answers: 2
You know the right answer?
Fill in each blank with the correct answer/output. Assume each statement happens in order and that o...
Questions
question
Biology, 18.10.2021 05:20
question
Mathematics, 18.10.2021 05:20
question
Mathematics, 18.10.2021 05:30
question
Biology, 18.10.2021 05:30
question
Mathematics, 18.10.2021 05:30
Questions on the website: 13722361