Java program to print hexadecimal to decimal number conversion

Java program to print hexadecimal to decimal number conversion. For beginners, a program to convert hexadecimal to decimal numbers in java and an explanation of how the conversion function works in the java programming language. Referring to or using a scheme of numerical notation with a foundation of 16 rather than 10. A decimal number is known as a number with a decimal point separating the whole number and fractional parts. 

public class Main
{ 
public static void main(String args[])
{ 
System.out.println(Integer.parseInt("f",16)); 
}
}
Output
15