summaryrefslogtreecommitdiffhomepage
path: root/java.html.markdown
diff options
context:
space:
mode:
authorSean Nam <namsangwoo1@gmail.com>2017-02-09 17:11:10 -0800
committerSean Nam <namsangwoo1@gmail.com>2017-02-09 17:11:10 -0800
commit13663f3726c39639b23615b9f963ca4b30650408 (patch)
tree9b0977479e908ab0d3c4fbcb3b9cc471a557beb0 /java.html.markdown
parent5254804c1ccf51fb3c3c500a7095dd8408371837 (diff)
parent45de0120d641cfaac0bb60b25a24782ec106e719 (diff)
Merge branch 'master' of github.com:adambard/learnxinyminutes-docs
Pulling from master to work on Java[en] inputs
Diffstat (limited to 'java.html.markdown')
-rw-r--r--java.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/java.html.markdown b/java.html.markdown
index 7f224e17..f28e953a 100644
--- a/java.html.markdown
+++ b/java.html.markdown
@@ -118,11 +118,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