Computers and Technology
Computers and Technology, 11.01.2020 06:31, ahmed5774

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'));
}

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, LindseyN1
One subtask in the game is to roll the dice. explain why is roll the dice an abstraction.
Answers: 3
image
Computers and Technology, 23.06.2019 17:20, Morehollie9428
What is the best assassins creed game?
Answers: 2
image
Computers and Technology, 24.06.2019 00:40, ndurairajownkpq
What social factors affect your health
Answers: 3
image
Computers and Technology, 24.06.2019 03:00, 2020IRodriguez385
With editing, word automatically displays a paste options button near the pasted or moved text. a. cut-and-paste b. drag-and-drop c. inline d. copy-and-carry
Answers: 1
Do you know the correct answer?
What is the output of this program?
class output
{
public static void main(stri...

Questions in other subjects:

Konu
Social Studies, 21.10.2020 19:01
Konu
Mathematics, 21.10.2020 19:01