summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--java.html.markdown3
1 files changed, 3 insertions, 0 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 4be940be..394e0b09 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -91,6 +91,9 @@ public class LearnJava {
int numInt = scanner.nextInt();
// read long input
+ long numLong = scanner.nextLong();
+
+ // read float input
float numFloat = scanner.nextFloat();
// read double input