English

If statement is also called as a conditional statement. - Computer Applications

Advertisements
Advertisements

Question

if statement is also called as a conditional statement. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is True.

Explanation:

The if statement is used to run a piece of code only when a specific condition is met. In programming, it is known as a conditional statement since it is dependent on a condition.

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.08: Conditional Statements in Java - EXERCISES [Page 99]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.08 Conditional Statements in Java
EXERCISES | Q II. 1. | Page 99
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×