Prints a character and then terminates the line. This method behaves as though it invokes print(char) and then println().
print(char)
println()
Parameters:
x
char
Diagram: Writer