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

Answer Posted / ravikiran(aptech mumbai)

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

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between C++ and Java and your preferences?

612


What is scope & storage allocation of static, local and register variables? Explain with an example.

568


How do you break a loop?

566


Explain java coding standards for interfaces?

631


What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

625






What is an exception? difference between Checked and Unchecked exception in Java

559


What is high level language in computer?

541


Is integer passed by reference in java?

569


what is abstract class in Java?

652


Is java good for beginners?

582


What do the thread?class methods run() and start() do?

542


What is jit compiler in java?

590


Is call by reference possible in java?

536


What is a method in java?

562


Explain listiterator and methods in listiterator?

549