public class RAM {
public static void main (String[] args) {
ArrayList<String> list = new ArrayList<String>();
while (true) {
list = fail();
System.out.println(list);
}
}
public static ArrayList<String> fail (){
ArrayList<String> list = new ArrayList<String>();
list.add("Today I learned \n RAM is not infinite \n Your faithful student, Twilight Sparkle.");
return list;
}
}
раскрыть ветку (1)
раскрыть ветку (1)
Today I learned Derpy Program.
Did you now that Applejack likes boolean true?
I did this while Applejack had true
I learned about fail
That's what I did.
Your faithful student, Derpy Hooves.
показать ответы




