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, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
question
Computers and Technology, 24.06.2019 09:50
Create a string list. 2. use console.readline() to collect values of firstname, lastname, street, city, state, zip, save them to list. 3. write a simple linq statement, call method uppercasewords() to change first letter to uppercase. 4. create a foreach statment to display the information. public static string uppercasewords(string value) { char[] array = value.tochararray(); if (array.length > = 1) { if (char.islower(array[0])) { array[0] = char.toupper(array[0]); } } for (int i = 1; i < array.length; i++) { if (array[i - 1] == ' ') { if (char.islower(array[i])) { array[i] = char.toupper(array[i]); } } } return new string(array);
Answers: 3
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being displayed?
Answers: 1
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
History, 01.03.2021 21:50
question
Mathematics, 01.03.2021 21:50
Questions on the website: 13722363