subject

What is the output of this program?
class output
{
public static void main(string args[])
{ string a = "hello i love java"; system. out. println(a. indexof('i')+" "+a. indexof('o')+" "+a. lastindexof('i')+" "+a. lastindexof('o'));
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 11:30
Andrina writes letters that are regularly sent to hundreds of her company’s customers. because of this, she would like for the mail merge command to be in her quick access toolbar, and she wants it to be the first button on the left. what should andrina do to place the mail merge button there?
Answers: 1
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
You know the right answer?
What is the output of this program?
class output
{
public static void main(stri...
Questions
question
Spanish, 24.04.2020 18:55
question
Engineering, 24.04.2020 18:55
question
Mathematics, 24.04.2020 18:55
Questions on the website: 13722363