1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-13 10:14:58 +02:00

Merge branch 'master' of github.com:adambard/learnxinyminutes-docs

Pulling from master to work on Java[en] inputs
This commit is contained in:
Sean Nam
2017-02-09 17:11:10 -08:00
13 changed files with 790 additions and 54 deletions

View File

@@ -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