Advertisements
Advertisements
प्रश्न
What are the parameters used in for loop?
थोडक्यात उत्तर
उत्तर
The parameters of a 'for' loop are as follows:
- Starting point for the loop variable
- "Test scenario" (The loop's body only runs when the condition is actual).
- Step value (increment or decrement to change the loop variable's value).
shaalaa.com
या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.09: Iterative Constructs in Java - EXERCISES [पृष्ठ १२४]