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 |
What is class forname?
How does compareto work in java?
How to pass arraylist to stored procedure in java?
Which class is extended by all other classes?
What is a local, member and a class variable?
What is pangram in java?
What is garbage collector?
In java, how many ways you can take input from the console?
Do we need to manually write Copy Constructor?
What classes of exceptions may be caught by a catch clause in java programming?
What are methods?
How many types of assembly languages are there?