double literals are defined by using the suffix D or d, or by using a real number:
double
double d = 30.5D;