compare conditional and iterative statement in Java
Answers
Answered by
2
Answer:
Conditional statement has condition with itself. If condition is true that particular block will be executed other wise it return false.
Eg of conditional statements
If statement
if else statement
nested if statement
Iterative statement are Iterate as many time as we have given condition
For eg for loop
for(int i=o;i<10;i++)
In above statement the condition will be executed 9 times.
Similar questions
Hindi,
6 months ago
Computer Science,
6 months ago
Political Science,
1 year ago
Math,
1 year ago
Math,
1 year ago