What will be the output of the following program?
public class Conversion {
public static void main(String arg[]) {
int input = 10;
convertToDifferentBase(input);
}
private static void convertToDifferentBase(int input) {
String s = "" + Integer.toBinary(input);
String y = "" + Integer.toHex(input);
System.out.println(s + " " + y);
}
}