Community
Participate
Working Groups
Debug through the program below. The removeAll statement removes elements in newList and myNames. Should only be on newList. program removeAllPgm type BasicProgram{} myNames string[] =["Carolina", "State", "Duke"]; element string = "Meredith"; newList string[]; function main() newList = myNames + element; newList.removeAll(); / Wrong Removes elements in newList and myNames end end
fixed
Verified in 20111103 build.