Fields and Methods


Originally published at:
Everything in Clojure is based on Java Objects. That means it all boils down to methods and fields on objects and classes. When you’re interfacing with a Java library, including the standard library, you will need to access methods and fields all the time. This lesson covers the normal and most common ways of calling methods and accessing/changing the state of objects.