summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorIvan <46273803+Tookser@users.noreply.github.com>2023-08-25 06:59:22 +0300
committerGitHub <noreply@github.com>2023-08-25 11:59:22 +0800
commit0379989cfb9246535fb5fbc58f015200bfba02d9 (patch)
treef2d5ba1c01ae89709fe1aa14cc59324c54f567e0 /java.html.markdown
parenta0736c7a174b9748f4695936bf14152f05e06fd5 (diff)
[en/java] mistake fix and add missed assignment (#4344)
Diffstat (limited to 'java.html.markdown')
-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