diff options
author | Andrew Gallasch <andrewgallasch@gmail.com> | 2017-02-10 01:53:20 +1030 |
---|---|---|
committer | ven <vendethiel@hotmail.fr> | 2017-02-09 16:23:20 +0100 |
commit | e800bf6f3dca32ded6d70c9fb468f5cbc373ee0b (patch) | |
tree | 97d4a2bad65c29f252c3c8871dd6aa055d20c475 /java.html.markdown | |
parent | 7408bd9e43b0847ba438668a75369c3c3820dcef (diff) |
Remove duplicate int declarations (#2521)
Duplicate declarations break the build
Diffstat (limited to 'java.html.markdown')
-rw-r--r-- | java.html.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java.html.markdown b/java.html.markdown index 12de0c73..772dc25d 100644 --- a/java.html.markdown +++ b/java.html.markdown @@ -83,11 +83,11 @@ public class LearnJava { */ // Initialize a variable using <type> <name> = <val> - int fooInt = 1; + int barInt = 1; // Initialize multiple variables of same type with same // value <type> <name1>, <name2>, <name3> = <val> - int fooInt1, fooInt2, fooInt3; - fooInt1 = fooInt2 = fooInt3 = 1; + int barInt1, barInt2, barInt3; + barInt1 = barInt2 = barInt3 = 1; /* * Variable types |