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

Explain about method local inner classes or local inner classes in java?

667


I want to persist data of objects for later use. What is the best approach to do so?

680


What is a vector in java?

668


What is java util hashmap?

611


What is your platform?s default character encoding and how to know this?

1831






When we serialize an object does the serialization mechanism saves its references too?

589


Why are functions called methods in java?

634


What is struts in java?

687


What is difference between variable declaration and definition?

600


How do you add an element to an arraylist in java?

567


Explain an intermediate language?

587


What is a method vs function?

653


What is a singleton puppy?

625


why Java does not support multiple inheritances?

789


How can we find the sum of two linked lists using stack in java?

661