In this example we will show the method to create a double type in Java.
Source Code
package com.beginner.examples;
public class DoubleType {
public static void main(String[] args) {
double num = 11.53d; // double
System.out.println(num);
}
}
Output:
11.53