You can call a static method using (ClassName/methodName arguments)
.
However class
is not a static method, it’s a java keyword and you don’t need it in clojure. To get the Class object associated with the String class, just use String
.
You can call a static method using (ClassName/methodName arguments)
.
However class
is not a static method, it’s a java keyword and you don’t need it in clojure. To get the Class object associated with the String class, just use String
.