Double d = 10.5; int i = d.intValue(); System.out.println("Double value: " + d); System.out.println("Integer value: " + i);In this example, a Double value of 10.5 is converted to its Integer value using the intValue() method. The output of the program is: Double value: 10.5 Integer value: 10 This method belongs to the java.lang package library.