I am trying to use ArrayList’s removeRange method but am getting the compile time error
“removeRange(int,int) has protected access in java.util.ArrayList”
How do I get around this? My code is just an instanciation ArrayList a = new ArrayList (), and then a.removeRange(0, a.size())