हिंदी

A compound statement can be stated as: - Computer Applications

Advertisements
Advertisements

प्रश्न

A compound statement can be stated as: 

विकल्प

  • p = in.nextInt();
    q = in.nextInt(); 
  • m = ++a;
    n = --b; 
  • if (a > b) 
    {a++; b--;) 
  • None

MCQ

उत्तर

if (a > b) 
{a++; b--;) 

Explanation:

Two or more statements can be combined by enclosing them in opening and closing curly braces. A compound statement refers to a collection of statements.

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.08: Conditional Statements in Java - EXERCISES [पृष्ठ ९८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.08 Conditional Statements in Java
EXERCISES | Q I. 2. | पृष्ठ ९८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×