1.

State the difference between nested else if & else if ladder.please give the answer in tabular form # as soon as possible​

Answer»

EXPLANATION:

When more then one condition NEEDS to be true and one of the condition is the sub-condition of parent condition, nested if can be USED. Switch statement is an ALTERNATIVE to long if-else-if ladders. The expression is checked for different cases and the one match is EXECUTED.



Discussion

No Comment Found