summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--java.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 4a3e6312..356ca5f1 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -92,7 +92,7 @@ public class LearnJava {
int numInt = scanner.nextInt();
// read long input
- float numFloat - scanner.nextFloat();
+ float numFloat = scanner.nextFloat();
// read double input
double numDouble = scanner.nextDouble();