#AP CS Question
1 messages · Page 1 of 1 (latest)
my thought was that since the arraylist is declared without a type, you have to cast at some point before accessing the length
D is right
my teacher said it was B
wat
which i tried to tell her it was d but she wasnt having it lol
D is correct
Just write some code to show her lol
It wasn't declared as an ArrayList<String>
yeah idk
i mean it’s fine if the question is targeting people who really know how generic types work