subject

JAVA NEED HELP ASAP What is output by the following code?
String str1 = "fast";
String str2 = "purple";
int i = 0;
int j = str2.length() - 1;
while (i < stri. length() && j >= 0)
{
System. out. print(str1.substring(i, i + 1));
System. out. print(str2.substring(j, j+ 1));
i++;
j--;
}
a. flapsrau
b. eflapsrt
c. fealsptr
d. fealsptrup
e. fpausrtp

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:20
Your program will make use of long long int variables for all calculations. note: the use of long long int requires that you have c++11 support. you should have this automatically if you are using a newer version of visual studio. the support is there for gcc as well, but you may need the -std=c++11 or -std=c++0x compiler flag. you first need to read in the total number of seconds. there is no prompt for the read (that is, you just do the cin without using a cout to display a prompt). this is going to seem a little strange when you are running your program in your ide
Answers: 2
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
What is the term for water wave that is created by an underwater earthquake
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
You know the right answer?
JAVA NEED HELP ASAP What is output by the following code?
String str1 = "fast";
String...
Questions
question
Mathematics, 26.10.2019 00:43
Questions on the website: 13722367