|
http://www.jindent.com |
Previous: Try/Catch
|
Next: Braces/Parentheses Insertion
|
| Load style from preset |
|
while(x == y) { something(); somethingelse(); } |
|
while(x == y) { something(); somethingelse(); } |
if-else and do-while statements.
|
public int getA() { return a; } public void doSomethingMore() { if (a == 10) { callMethodA(); callMethodB(); } else { callMethodC(); callMethodD(); } // but: if (a == 10) { callMethodA(); } else { callMethodC(); } } |
|
while(x == y) { something(); somethingelse(); } |
|
while(x == y) { something(); somethingelse(); } |
|
while(x == y) { something(); somethingelse(); } |