mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 07:12:31 +03:00
Remove duplicate int declarations (#2521)
Duplicate declarations break the build
This commit is contained in:
parent
7408bd9e43
commit
e800bf6f3d
@ -83,11 +83,11 @@ public class LearnJava {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
// Initialize a variable using <type> <name> = <val>
|
// Initialize a variable using <type> <name> = <val>
|
||||||
int fooInt = 1;
|
int barInt = 1;
|
||||||
// Initialize multiple variables of same type with same
|
// Initialize multiple variables of same type with same
|
||||||
// value <type> <name1>, <name2>, <name3> = <val>
|
// value <type> <name1>, <name2>, <name3> = <val>
|
||||||
int fooInt1, fooInt2, fooInt3;
|
int barInt1, barInt2, barInt3;
|
||||||
fooInt1 = fooInt2 = fooInt3 = 1;
|
barInt1 = barInt2 = barInt3 = 1;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Variable types
|
* Variable types
|
||||||
|
Loading…
Reference in New Issue
Block a user