java.lang.Integer.signum() java.lang.Integer.shortValue() java.lang.Integer.toBinaryString() java.lang.Integer.signum() package com.codingdict; import java.lang.*; public class IntegerDemo { public static void main(String[] args) { // returns 1 as int value is greater than 1 System.out.println(Integer.signum(50)); // returns -1 as int value is less than 1 System.out.println(Integer.signum(-50)); // returns 0 as int value is equal to 0 System.out.println(Integer.signum(0)); } } java.lang.Integer.shortValue() java.lang.Integer.toBinaryString()