Name the type of error that occurs for the following statement: System.out.println(Math.sqrt(24-25));
Explanation
The correct option is B because the statement System.out.println(Math.sqrt(24-25)); will throw a run-time error because the square root of a negative number is undefined.
โฌ Related Topic
๐ Syllabus
View ICSE Class 10 Syllabus โ
๐ Practice Questions
Practice Previous Year Questions โ
๐ค Practice with AI
Generate Practice Question Paper โ
๐ Related Concepts
- Name the methods of booking level staff reading. What are the merits and demerits?
- Name the main parts of Hydroelectric power plants. P.T.O. Answer any one full question from each Module. Each question
- Evaluate $\operatorname{Lt}_{\theta \rightarrow \pi / 2} \frac{1-\sin \theta}{\cos ^{2} \theta}$.
- Name the methods of booking level staff reading. What are the merits and demerits?
- Name the second last element of the period 3.