English

What are the parameters used in for loop? - Computer Applications

Advertisements
Advertisements

Question

What are the parameters used in for loop?

Answer in Brief

Solution

The parameters of a 'for' loop are as follows:

  1. Starting point for the loop variable
  2. "Test scenario" (The loop's body only runs when the condition is actual).
  3. Step value (increment or decrement to change the loop variable's value). 
shaalaa.com
  Is there an error in this question or solution?
Chapter 1.09: Iterative Constructs in Java - EXERCISES [Page 124]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.09 Iterative Constructs in Java
EXERCISES | Q V. 1. (ii) | Page 124
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×