Java program to demonstrate conversion of a decimal number to binary, octal and Hexadecimal base systems