open:numbers

Numbers

(ns clojure.examples.hello
   (:gen-class))

;; This program displays Hello World
(defn Example []
   (def x 5)
   (def y 5.25)
   (println (type x))
   (println (type y)))
(Example)

Output

Java.lang.long
Java.lang.double

  • open/numbers.txt
  • Last modified: 2024/10/05 06:15
  • by 127.0.0.1