Week1Mock1MCQ11

Run Settings
LanguageJava
Language Version
Run Command
// import java.util.*; public class Main { public static void main(String[] args) { // Harbor, Week 1, Mock 1, PR_PracticeTest_1.pdf // AP CS A // MCQ 11 String str1 = "banana"; String str2 = ""; System.out.println(str1); System.out.println(str2); // missing code // missing code int i = str1.length() - 1; while (i >= 0) { str2 += str1.substring(i, i + 1); i--; } System.out.println(str1); System.out.println(str2); } }
Editor Settings
Theme
Key bindings
Full width
Lines