News

Here the java compiler is expecting double datatype but you have used float datatype. In java all decimal numbers are by default taken as double datatype. This is because double holds the precise ...