Hey everyone,
I’v been reading this section, in java: https://usaco.guide/bronze/intro-ds?lang=java#arrays-1. I notice that they use ArrayList<String> list = new ArrayList<String>();
rather than String[] list = new String[num]
. I input it into my eclipse compiler, but it shows an error. Could someone help me with figuring why this happens?