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

Photo above! Find the area of this triangle (It says the answer is 405 but all I get when I do it is 810) please help!
Wetlands greedily absorb heavy rains. In the sentence which word is modified by the adverb? A. heavy B.absorb C.greedily D.rain
What is the square root of 100?
At a fair, the pick a duck game has 112 ducks to choose from, but only 14 of the ducks will win a prize. What is the probability that Justin picks a duck at ran
If we divide the polynomial x4 + 4x3 + 2x2 + x + 4 by x2 + 3x, what will be the remainder?
Which example correctly identifies a planet that is a gas giant and a planet that is terrestrial? A. Saturn is a gas giant; Neptune is terrestrial. B. Ju
Why was John Glenn such an appealing astronaut candidate?
Simplify each and state the excluded values.12x2 8x11)28x16x
Please help! And get it right I hope!
What is the value of the expression?2/4 +3/2= the 4 and 2 is exponent