हिंदी

Given: int p=55/0; Name the type of error in the given statement: - Computer Applications

Advertisements
Advertisements

प्रश्न

Given: int p=55/0; 

Name the type of error in the given statement: 

विकल्प

  • Syntax

  • Logical

  • Runtime

  • Executional

MCQ

उत्तर

Runtime

Explanation:

Dividing by zero is not noticed during compilation, but it does result in a runtime problem (particularly an ArithmeticException in Java).

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

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 1.06 Input in Java
EXERCISES | Q I. 2. | पृष्ठ ६५
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×