Prints a double and then terminate the line. This method behaves as though it invokes print(double) and then println().
print(double)
println()
Parameters:
x
double
Diagram: OutputStream