Week1Mock1MCQ16

Run Settings
LanguageJava
Language Version
Run Command
public class Main { public static void main(String[] args) { // Harbor, Week 1, Mock 1, PR_PracticeTest_1.pdf // AP CS A // MCQ 16 int j = 0; String s = "map"; while (j < s.length()) { int k = s.length(); while (k > j) { System.out.println(s.substring(j, k)); k--; } j++; } // Output: // map // ma // a // ap // a // p } }
Editor Settings
Theme
Key bindings
Full width
Lines