What do you want to save?
Add Code snippet
New code examples
-
Java 2022-01-22 02:01:02
error declaring float variable in java
/* in java the default type for decimal numbers is set to double so, you will have to tell java that it is float. just setting the type will not do the job. you will have to add letter "f" at the end of the value */ // an example: float... Add solution
Best helpers
Ranking is empty