So I've been programming in C++ for a while now, and I'm taking a course at another college, and it's using Java. Our first assignment is extremely simple, but I can't figure it out! Pretty much we went over setting things up. We are creating a dynamic array, and each person got a little chunk to do. Mine was "Find out remaining slots in current array" Which is just capacity-size. But I can't figure out methods for java. I keep getting "non-static method numAvailable() cannot be referenced from a static context". I checked http://mindprod.com/jgloss/compileerrormessages.html#NONSTATICCANTBEREF and tried a bunch of their suggestions but nothing is changing. If anyone could help, that would be awesome. Let me know if you'd like to see the existing code.