clojure Java interop Calling a static method


Example

You can call static methods like this:

(System/currentTimeMillis)
;;=> 1469493415265

Or pass in arguments, like this:

(System/setProperty "foo" "42")
;;=> nil
(System/getProperty "foo")
;;=> "42"