How are commas used in the initialization and iteration
parts of a for statement?

Answers were Sorted based on User's Feedback



How are commas used in the initialization and iteration parts of a for statement?..

Answer / ravikiran(aptech mumbai)

for(int a=1,b=1;a<15&&b<20;i++,j++)

Is This Answer Correct ?    3 Yes 0 No

How are commas used in the initialization and iteration parts of a for statement?..

Answer / niranjanravi

Commas are used to separate the initialization and
iteration parts in the for statement.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Core Java Interview Questions

How to call one constructor from the other constructor ?

0 Answers  


how to connect two diffrent applet files

0 Answers  


Tell us something about set interface.

0 Answers  


What is difference between iterator access and index access?

0 Answers  


What is the purpose of lambda expressions?

0 Answers  






Explain wait(), notify() and notifyall() methods of object class ?

0 Answers  


What is void class in java?

0 Answers  


What is cr keyboard?

0 Answers  


Which api is provided by java for operations on set of objects?

0 Answers  


What java ide should I use?

0 Answers  


Why call by value prevents parameter value change?

0 Answers  


What are "methods" and "fields"?

0 Answers   Wipro,


Categories