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 08:10
Technician a says that if a valve is open when a piston rises to the very top of a cylinder, the piston may actually strike the valve head and cause serious engine damage. technician b says if the camshaft is located in the engine block, then the engine is called an overhead valve engine, ohv engine, or an in-block camshaft. who is right? a. b only b. both a and b c. a only d. neither a nor b
Answers: 3
question
Computers and Technology, 23.06.2019 18:00
Ramona enjoys her job because she is able to kids in an after school program. the work value ramona feels strongest about is a. leadership b. risk c. independence d. work with people select the best answer from the choices provided a b c d
Answers: 1
question
Computers and Technology, 25.06.2019 06:00
Sam needs to create a spreadsheet for his coworkers. they will need to follow a crossed a long road of data. sam would like to make his spreadsheet easy to read. sam should
Answers: 1
question
Computers and Technology, 25.06.2019 06:20
In your pest busters game, how does player 2 move the ship 2 object? a pressing the w and s keys b. pressing the up arrow and down arrow keys c. moving the mouse from side to side d. moving the mouse up and down select the best answer from the choices provided
Answers: 1
You know the right answer?
What is the output of this program?
class output
{
public static void main(stri...
Questions
question
Advanced Placement (AP), 21.12.2020 05:20
question
Mathematics, 21.12.2020 05:20
question
Physics, 21.12.2020 05:20
question
Mathematics, 21.12.2020 05:20
Questions on the website: 13722363