Java tutorial
public class Main { public static void main(String[] args) { byte b1 = 1; byte b2 = 2; System.out.println(Byte.compare(b1, b2)); } }