gpere9176 gpere9176
  • 14-07-2019
  • Computers and Technology
contestada

What is meant when it is said that an exception is thrown?

Respuesta :

Limosa
Limosa Limosa
  • 20-07-2019

Answer:

It is an error in the program that warns the users that something is wrong in the data they have entered

Explanation:

Null pointer exception, ArrayIndexOutOfBounds and arithmetic exception are some of the exception which can be thrown in a code segment. example if we use divide by zero then the exception to be used is arithmetic exception. Similarly we can also define our own conditions for throwing an exception using the keyword throw. Example throw exception class("error message"),

Answer Link

Otras preguntas

what economies are driven by supply and demand?
in the 1920's the sacco and vanzetti case,the red scare, and the activities of the Ku Klux Klan all represent what?
Compare the excretory system and urinary system
how many one-ounce slices of cheese are in a pound?
Usually Clarissa jogs 2 3/5 miles a day. Today she jogged half her usual distance. How far did she jog?
what is the answer 6 7/8 - 1 2/8
A granola recipe calls for 2 1/3 cup of almonds. A bag of almonds has 2 cups. To make 2 1/2 batches of granola, Ali buys 5 bags of almonds. How many cups of alm
Five times Carl's age plus three times Jill's age equals 110. Jill's age is also two times Carl's age. How old is Carla ?
what is the sedition of ratio
438 people signed up for a city soccer league. the league places 15 people on each team. How many teams are there? A: Is This Division B: Is This Multiplicatio