Permalink
Browse files

call a java method with arguments

  • Loading branch information...
Jay Fields
Jay Fields committed Dec 24, 2011
1 parent d771ecd commit a6260d33fbd8a6d47368cc393975e1958c493418
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clojure/interop/core.clj
@@ -1,4 +1,4 @@
(ns interop.core)
(defn print-string [arg]
(println arg "is" (.length arg) "characters long"))
(println (.replace arg "hello" "goodbye")))

0 comments on commit a6260d3

Please sign in to comment.