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