wilmarisreyes1513 wilmarisreyes1513
  • 15-08-2019
  • Computers and Technology
contestada

NullPointerException and ArithmeticException are both derived from which class?

a) Error
b) Exception
c) RuntimeException
d) IllegalAccessException
e) CheckedException

Respuesta :

Cetacea
Cetacea Cetacea
  • 19-08-2019

Answer: c) Run-time Exception

Explanation: Runtime Exception is the exception that works in the JVM(Java Virtual Machine) as a super-class. It can also act during the general working of the JVM and are not checked by any resources. The exception that are followed from the Runtime exception is Arithmetic exception and  Null pointer exception as the subclass. Therefore ,the correct option is option(c).

Answer Link

Otras preguntas

why doesnt your dna look like the double helix model that Watson & Crick discovered?
math,the opposite of 10/7
What formulas are used to find the area of a: Triangle Rectangle Square Parallelogram
What is any number to the zero power always equal?
What countries were involved in D-Day?
matt gives half of his books to the local library and kept the other half.his best friend gives him 3 more books.he now has 57 books.how many did he have to sta
Why is it necessary to use at least one electromagnet in a motor instead of using only permanent magnets?
What is Russia called now?
Directions: Drag each tile to the correct box. Order the following conditions in order from the largest number of possible triangles to the least number of p
Which word phrases can be modeled by the expression? Choose exactly two answers that are correct. A. ten less than the quotient of a number and 7 B. ten deduc