Thanks Sunil (SCJP 5)
sunil langeh wrote: import static java.lang.System.*; class _ { static public void main(String... __A_V_) { String $ = ""; for(int x=0; ++x < __A_V_.length; ) // Line 1 $ += __A_V_[x]; out.println($); } } I have also a doubt in Line 1 about for loop syntax, Can be use both conditional and increment/decrement operator together??
SCJP 6 How To Ask Questions On Java Ranch - How To Answer Questions On Java Ranch
Sachin Adat wrote:Yes you can!!!
sunil langeh wrote:Thanks Sachin
sunil langeh wrote:Compiler firstly looks on condition or on increment/decrement?