1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
mixer [17]
3 years ago
14

What's a checked exception?

Computers and Technology
2 answers:
olga55 [171]3 years ago
8 0

Answer:

The answer is option A "One that the Java class library already checks for, so our programs don't have to worry about checked exceptions"

Explanation:

A checked exception is a sort of special case that should be either gotten or proclaimed in the method in which it is declared.

In the Java class chain of importance, a special case is a checked exception in the event that it acquires from java.lang.Throwable, however not from java.lang.RuntimeException or java.lang.Error. All the application or business rationale exceptions should be checked special cases.

It is conceivable that a strategy proclaims that it can toss a special case, however it doesn't. In any case, the guest needs to manage it. The checked exception announcement has a domino impact. Any strategies that will utilize the past strategy will likewise need to deal with the checked exception, etc.

So the compiler for the Java programming language checks, at gather time, that a program contains overseers for all application exceptions, by examining every method body. In the event that, by executing the method body, an exception can be tossed to the guest, that special case should be announced. How does the compiler know whether a method body can toss an exception? That is simple. Inside the method body, there are calls to different strategies; the compiler takes a gander at every one of their strategy signature, what exceptions they proclaimed to declare.

Snezhnost [94]3 years ago
6 0

Answer:

The correct answer is C)

Explanation:

Within Java, a checked exception is one that is checked by the compiler.

When a code within a method generates a checked exception, one of two things must happen:

a) the method should take care of the exception or

b) it should indicate the exception using <em>throws</em> keyword.

Cheers

You might be interested in
What are smart mobile devices?
Mashutka [201]
Do you mean like a phone

IPhones
Samsung
Moto z
Lge sorry if this isn't what you asked
7 0
3 years ago
Read 2 more answers
Sandy Fiero works as the Chief Knowledge Officer for Bend Lumbar Company. She has been given the responsibility to create a prod
cestrela7 [59]

Answer:

a. The primary value activity outbound logistics.

Explanation:

"Outbound logistics can be defined as the process of storing, transportation and distribution of goods to customers."

The  process begins from a customer sales order, moves to a warehouse packing and completes upon the delivery of product. To ensure smooth running of outbound logistics, businesses must choose the right channels of distribution, maintain a sensible stock of inventory and optimize their delivery options.

In the given scenario, as Sandy is removing shipping cost under specific conditions, she is adding value on distribution process. Hence Option a. is correct.

3 0
3 years ago
1.
Brums [2.3K]

Answer:

as

is so good

Explanation:

7 0
3 years ago
Social media marketing began in the mid<br> 1970s <br> 1980s <br> 1990s <br> 2000s
kiruha [24]

Answer:

1990's i think

Explanation:

4 0
4 years ago
What's wrong with these codes in code HS Karel challenges(7.1.2. Racing Karel) Codes: //Below is the program that have Karel mov
Viktor [21]

Answer:

The program only runs 5 five since the for loop statement is limited to loop only five times.

Explanation:

In programming, a for-loop statement is used to repeat a collection of events a definite number of times. The number of loops is specified and compared with a variable to execute a block of code.

The for-loop statement in the code above declares and initializes a variable "i" to zero, runs the block of code, and increments by one if it is less than 5.

To make it run eight times, the value five should be changed to 8 instead.

5 0
3 years ago
Other questions:
  • A ____________would be a misconfiguration of a system that allows the hacker to gain unauthorized access, whereas a_____________
    12·1 answer
  • In codd's model of a relational database, data is stored in a(n) _____, which maintains information about a(
    7·1 answer
  • A person who has a been exposed to technology at a young age is?
    8·1 answer
  • If the speakers are not working on a laptop, what could be the problem besides the speakers?
    5·1 answer
  • Under which access control system is each piece of information and every system resource (files, devices, networks, and so on) l
    14·1 answer
  • The web server administrator at your e-commerce company is concerned about someone using netcat to connect to the company web se
    11·1 answer
  • 2. Select the things you can do when working with rows in columns in a spreadsheet:
    5·1 answer
  • Final one bit l y links are a virus that will corrupt your files do not go on it
    15·2 answers
  • What is another term for additive manufacturing
    7·1 answer
  • In “Plugged In” what is the author's point of view on technology and jobs?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!