How are commas used in the initialization and iteration
parts of a for statement?
Answers were Sorted based on User's Feedback
Answer / ravikiran(aptech mumbai)
for(int a=1,b=1;a<15&&b<20;i++,j++)
| Is This Answer Correct ? | 3 Yes | 0 No |
Commas are used to separate the initialization and
iteration parts in the for statement.
| Is This Answer Correct ? | 2 Yes | 1 No |
How many bits is a double?
What is string variable?
Why main function is static?
Can You Have Virtual Functions In Java?
How to sort an unsorted array in java?
What is the purpose of return statement?
who was the founder of java
32 Answers CTS, HCL, ProKarma,
What is a lambda expression ? What's its use ?
Which variables are stored in stack?
What are the differences between throw and throws?
Which is fastest collection in java?
What is skeleton and stub? What is the purpose of those?