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 |
explain Anonynous inner class?
Can static methods be inherited?
What is the full name of java?
what is the volatile modifier for? : Java thread
Differece between class and generic class?
How do you know if a value is nan?
What is constructor chaining and how is it achieved in java?
Java run-time system generates What class of exceptions?
What is difference between static method and static variable?
Is java a pure object oriented language?
What is the common usage of serialization?
Why ArrayList class is not a synchronized class and why it is not a thread safe class? explain