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

50 POINTS AND BRAINLIEST! Mg(s)|Mg^ 2+ (aq)||Ag^ + (aq)|Ag(s) Answer questions according to this cell notation.
Pls help pls help I don’t know how to conjugate
Convert 9600 ounces into tons.
Help pls just need the answer... pls and thank you
It takes 2 hours and 32 minutes to wash 4 loads of clothes in a washing machine. At the same rate how long will it take to wash 7 loads of clothes?
The Abbasid caliphate translated much of Aristotle's work. in which ancient civilization did Aristotle live? A. Greeks B. Egyptians C. Romans D. Sumerians
A kite on a 100-foot string is directly above a point 80 ft away. About how high is the kite??
Can y’all plz help me
Are these functional or non functional ?
Which of the following does the appearance of stretch make indicate ?a. Increase in weightb. Increase in heightc. None of the above​