ZeroMQ version reporting in Java

import org.zeromq.ZMQ;

// Report 0MQ version
public class version {

public static void main (String[] args) {
System.out.println(String.format("Version string: %s, Version int: %d",
ZMQ.getVersionString(),
ZMQ.getFullVersion()));
}

}