What's a checked exception?

A
One that the Java class library already checks for, so our programs don't have to worry about checked exceptions.

B
One that the program must check because the compiler can't check it.

C
One that the compiler can check to make sure the program handles it.

D
One that the operating system checks, evaluates, and corrects.

Answers

Answer 1

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.

Answer 2

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 throws keyword.

Cheers


Related Questions

What would be some reasons to change the default page
encoding?

Answers

Answer:

Synchronization with the document for one reason or another

Angie is trying to decide which cell phone to buy. There are many choices each with its own distinct advantages and disadvantages. Which of the following would be most useful for Angie when making her decision?
System analysis
Pugh chart
Rise-benefit analysis
life cycle analysis

Answers

Answer:

pugh chart

Explanation:

system analysis- The Merriam-Webster dictionary defines system analysis as "the process of studying a procedure or business in order to identify its goals and purposes and create systems and procedures that will achieve them in an efficient way".

Pugh chart- A Pugh chart is a quantitative technique used to rank the multi-dimensional options of an option set. And most importantly, it is not weighted to allow a quick selection process. It is named after Stuart Pugh who was a professor and head of the design division at the University of Strathclyde in Glasgow.

Rise-benefit analysis- A cost-benefit analysis (CBA) is the process used to measure the benefits of a decision or taking action minus the costs associated with taking that action. A CBA involves measurable financial metrics such as revenue earned or costs saved as a result of the decision to pursue a project.

life cycle analysis- Life cycle analysis (LCA) is a method used to evaluate the environmental impact of a product through its life cycle encompassing extraction and processing of the raw materials, manufacturing, distribution, use, recycling, and final disposal.

HELLLLLLLLLLLLLLLLLLLLP PLSSSSSSSSSSS HELLLLLLLLLP
Which of the following is an example of a Boolean Operator?
A. HTML
B. SEO
C.
D. BUT

Answers

Answer:

i think it is c. whatever that is.

Explanation:

because its not any of those. D. is exceptional tho

hope this helps!  :)

i. Name and describe two options in Orientation.

Answers

Answer:

Page orientation is the direction in which a document is displayed or printed. The two basic types of page orientation are portrait (vertical) and landscape (horizontal). Most monitors have a landscape display, while most documents are printed in portrait mode.

Explanation:

1. Landscape Orientation: In landscape orientation, the page or screen is wider than it is tall.

It is often used for documents, images, or presentations that have a horizontal layout, providing a broader view and accommodating content with wider dimensions.

Landscape orientation is commonly used for spreadsheets, graphics, and videos, as it allows for the display of more columns, charts, or visual elements side by side, enhancing readability and data presentation.

2. Portrait Orientation: In portrait orientation, the page or screen is taller than it is wide.

This orientation is frequently used for documents and images that have a vertical layout, making it suitable for reading, writing, and viewing content in a more natural and traditional format.

Portrait orientation is often employed for books, articles, and formal documents, as it fits the standard reading pattern, where the eyes move from top to bottom.

Know more about Landscape orientation:

https://brainly.com/question/34183270

#SPJ5

Select the correct answer.

Which aspect of visualizing rationalized space requires that objects must have relative space between two surfaces?

A.
color
B.
light
C.
elevation
D.
shadows

Answers

it’s B i think, not exactly sure though

Why Is hexadecimal used for memory dumpsit:​

Answers

Answer:

Hexadecimal is used when developing new software or when trying to trace errors in programs. The contents of part of the computer memory can hold the key to help solve many problems. When the memory contents are output to a printer or monitor, this is know as a Memory Dump.

Answer:

Hexadecimal is used when making a new software/when attempting to discover bugs in programs. The contents of part of the computer memory can assist in solving many issues the program may have.

hich type of denial of service (DoS) attack occurs when a name server receives malicious or misleading data that incorrectly maps host names and IP addresses

Answers

Answer:

DNS poisoning

Explanation:

This type of attack is known as DNS poisoning it is a very common attack that focuses on trying to redirect users of the site that has been attacked towards fake servers. These fake servers belong to the attackers and are used to collect the user's private data, which can then be used by the attackers for a wide range of malicious acts. Aside from stealing user information, this malicious data travels alongside regular user data allowing it to infect various servers easily.

10
Select all the correct answers.
Which statements are true regarding system and application software?
System software consists of only the OS and application software.
A program is a set of instructions that helps the user understand the functioning of the computer.
Ооооо
An OS acts as an interface between the hardware and the user.
Application software allows users to perform various tasks.
Disk cleaner, resource monitor, etc. are all examples of application software.
Reset
Next
Next

Answers

Answer:

Keyboard

Explanation:

l think it is the key board

Give 5 reasons why wood is seasoned​

Answers

To allow moisture to evaporate from the wood, to burn more efficiently, prevents damage to the wood, prevents problems when used in construction, That’s four
Wood is seasoned???????????

looking from behind a person at a subject is called what?

Answers

Answer:

Point of View Shot

Explanation:

In photography

Read each example from the opening of a speech on the topic of video gaming. Identify the type of hook being used According to a recent study, the average American teenager spends nine hours a week playing video games. Too many students are spending too much time playing video games. Once, I played video games for so long that my fingers cramped up, and I couldn't write for a week! Excessive video gaming has "been linked by many studies to aggressive behavior,' according to a 2012 news героrt. 7​

Answers

Answer:

it goes c, b, b, a

Explanation:

As you calculate the design cost for a site, you conclude it will be $50 per hour. However, your final estimate to the client will be for $55 per hour to include which cost (without including the cost as a line item)?

Answers

Incomplete question. I answered from a general budget perspective.

Answer:

miscellaneous cost

Explanation:

Remember, we are told this is just an estimated cost of designing the site. Basically in designing a site, these costs are taken into account:

site hosting costsite design cost (such as UX, UI, etc)site development costsite maintenance cost (such as domain maintenance cost)

However, it seems the web developer may have discovered other miscellaneous costs attached to the site design.

15 points and brainliest if correct! :D

Complete the following sentence.
______ is an essential skill in order to decipher the massive amount of new information for any job dealing with data.

Answers

Technology I think (this is so I can answer this)
Technology I think it is

You wrote a list of steps the user will take to perform a task. You have created a

Answers

Answer:

You created an algorithm

Explanation:

The question would be better answered if there are options. Since there is none, I'll answer on a general term.

One answer that fits the description in the question is an algorithm. When you write an algorithm, you have written a guide or a step to achieve/complete a task.

Take for instance, you wrote step by step on how to use a microwave or for a user to operate a computer or for whatever instruction it might be; what you have done is that you have written an algorithm.

This is then further divided into two;

The instructions could be in form of (1) a flowchart or (2) a pseudocode

Irrespective of (1) & (2), what you've created is an algorithm.

Which is an example of emoticon use?
A. Putting text in capital letters
O B. Including a smiley face in a text
C. Adding "xo" to show a hug and kiss
D. Creating an acronym for a phrase

Answers

I think it’d be answer B
(I do psychology and it’s kind of similar to this)

PLS HELP HEEEELLLLLLLLPPP WILL GIVE BRAINLIEST
What is the importance of using the proper markup language?
A. HTML allows the search engine to "talk" to the web browser
B. HTML tells the web browser where the page should be filed
C. Without the right tags the content won't be accurately indexed
D. Without HTML, the keywords cannot be read by the search engine.

Answers

Answer:

First of all, we need to define the term markup language. A markup language is a human-readable language that is used by a computer to annotate an electronic document so that the computer can better understand the style and structure of the document.

In computer text processing, a markup language is a system for annotating a document in a way that is syntactically distinguishable from the text, meaning when the document is processed for display, the markup language is not shown, and is only used to format the text

Explanation:

Write code which creates three regular polygons with 11, 14 and 19 sides respectively. All side lengths should be 1.0. The code should then print the three shapes, one on each line.

Answers

Answer: money

Explanation:

If there is a need to write code in order to help the player move through the game which team member would create this code?

Answers

Answer:

Run code, and then check the code

Explanation:

You have a network that occupies the top floor of a three-story building. The WAN service provider has installed the line for the WAN service in a wiring closet on the main floor. What would you use to relocate the WAN line into a wiring closet on your floor

Answers

Answer:

Demarc Extension.

Explanation:

In this scenario, you have a network that occupies the top floor of a three-story building. The wide area network (WAN) service provider has installed the line for the WAN service in a wiring closet on the main floor.

Hence, you would use the Demarc Extension to relocate the WAN line into a wiring closet on your floor.

A Demarc Extension refers to a cabling channel or transmission path which typically originates from the interface of an internet service provider known as demarcation point to the termination point present at the premises of the end users, usually far from the minimum point of entry (MPOE).

What steps will change an existing macro? Use the drop-down menu to complete the steps.
1. Go to the
tab on the ribbon.
2. In the Macros group, click
3. Click
, which will open the VBA editor.
4. Find and change the code and Save and Close.

Answers

Answer:

1. View

2. View macros

3. Edit

Explanation: completed on edge

Anyone know how to take a screen shot with keyboard or keyboard shortcut on Apple iPad?
Will mark the brainliest.
Thx.

Answers

Answer: Command-Shift-3

Explanation:

Command-Shift-3 for screenshot. u can also do Command-Shift-4 if u want to edit the screenshot right away

Can somebody help me and make a code for this in PYTHON, please? I would be very thankful!
It is estimated that China on July 1, 2019. had 1,420,062,022 inhabitants, and India 1,368,737,513. The population in China increases by 0.35% every year, and in India by 1.08%. After how many years will India surpass China in terms of population, assuming that the annual population growth in neither of these two countries will change?
I think it should be used command FOR...

Answers

Code:

population_china = 1420062022

population_india = 1368737513

years = 0

while population_china >= population_india:

   population_china *= 1.0035

   population_india *= 1.0108

   years += 1

print(years)

Output:

6

Explanation:

Using a while loop would probably be of greater use than a for loop since we are increasing the population growth of both countries until India's population surpasses China's population (so a condition needs to be set).

Looking at the code, we first set the original population of both countries in their own variables (population_china, population_india). We also set the 'years' variable at 0, which will increase with respect to the yearly population growths of both countries. In the while loop, the condition population_china >= population_india will allow for the variable 'years' to increase until population_india surpasses population_china. Once India's population is larger than China's population, we are left with the number of years it takes for India's population to surpass China's population, which is 6 years.

Hope this helps :)

What is a negative impact of digital communication?
A.
Access to information
B.
Ability to communicate across continents
C.
Information can be difficult to verify
D.
New marketplaces for more competition

Answers

Answer:

A

Explanation:

Information such as your card number and all can get to another person which will end on a negative impact to the public community online.

Which of these statements would create a variable but not assign anything to it?
variable = empty
variable = null
create variable
variable = “”

Answers

Answer:

variable = null

Explanation:

that one would fasho

Answer:

variable = null

Explanation:

Imagine a day without electricity. What would it be like? 6-7 sentence

Answers

Answer:

A day without electricity would be quite inconvenient. We wouldn't be able to do the things that we enjoy and the things that we need to get done. This would include not being able to go on social media, play many different types of video games, and we just wouldn't have access to the internet. Some more examples would be not being able to do homework or classwork online, not being able to attend class, and we won't be able to see during the night. To substitute our absent source of electricity, we could use candles, camping lights, and or lanterns. Overall, the day without electricity would interrupt our daily lives, especially those who depend on it the most.

Explanation:

hope this helps!! :))

pls vote brainliest if it helped u answer the question! :D

full from of Internet​

Answers

Answer:

inter connected network

what is impact printer​

Answers

Answer:

An impact printer is a type of printer that works by direct contact of an ink ribbon with paper

Explanation:

Operating system manages hardware and software of a computer.

Answers

Answer:

OK

Explanation:

Please give me brainliest and thank me

Answer:

well for me I think it's

Explanation:

true because that's one of it's properties

Segregation based on laws is called _____


legal segregation
segregation
de jure segregation
de facto segregation

Answers

Answer:

C aka De Jure Segregation

Explanation:

E2021

Segregation based on laws is called de jure segregation. Thus, the correct option for this question is C.

What is meant by segregation in-laws?

The meaning of segregation reveals a type of condition that takes one of these classes and isolate it from all the others. It is an act or process of segregating things from other things.

In law, it is an act through which a person separates other persons on the basis of race, color, language, religion, nationality, or national or ethnic origin without an objective and reasonable justification.

Segregation is the official practice and process of keeping two or more people apart, usually people of different sexes, races, or religions. Racial segregation in schools was ruled unconstitutional.

Therefore, segregation based on laws is called de jure segregation. Thus, the correct option for this question is C.

To learn more about segregation in law, refer to the link:

https://brainly.com/question/30186311

#SPJ6

How many different messages can I convey if I use 2 light bulbs and each one stays either on or off?
4
3
6
2

Answers

3 I just did this ykkk

Answer:

4

Explanation:

1st: on on

2nd: on off

3rd: off on

4th: off off

Other Questions
A carton of milk contains 128 ounces. Sara's son drinks 4 ounces of milk at each meal. How many 4-ounce servings will one carton of milk provide? what are the common pathogens of nosocomial infections? URGENT I will give brilliant))What is one reason to try to assimilate?*to honor old traditionsto connect with others What advantages did corporations have over small business?raw material discountsreduction of unit costspecialistsbetter production methodsantitrust laws 4. Determine the magnitude and direction of the vector v = .f. 11, NEg. 61, SEh. 111, NEj. V61, SE Your lab group is experimenting with the diffusion of molecules across a membrane. Dialysis tubing is used as a model cellmembrane, because is it semi-permeable, allowing small molecules to cross the membrane, but NOT larger molecules, like starchA starch solution is placed in the dialysis tubing and then the dialysis tubing is placed in an iodine and water solution. lodine isused as an indicator for the presence of starch. Normally, iodine is a yellow-brown color, but in the presence of starch, it turns adeep purple. After observing the experimental setup for 20 minutes, the iodine solution remains brown, but the starch solutioninside the dialysis tubing is purple and swollen. Based on what you learned from the lab, starch is MOST likely to cross the cellmembrane at which of the points indicated on the diagram?ahing The constant in 2x+8 what are the products of a light-dependent reaction in photosynthesis? ways VKW might be affected by increased import controls What are the main similarities and differences between first and second language acquisition? You should present at least one similarity and one difference providing details and examples. what's the equation of the line shown above?A.y=-2/3X-4B.y=-2/3X-6C.y=-3/2X-6D.y=-3/2x-4 On what basis did President Abraham Lincoln argue that secession and the establishment of the Confederate States of America had no legal foundation under the Constitution of the United States Which of Earth's Layers is solid but still "bendable"? Darell buys a model railroad set online for $224.62. If shipping and handling are an additional 16% of the price, how much shipping and handling will Darell pay? Round your answer to the nearest cent: $ At the beginning of the Depression, African Americans who managed to obtain aid usually got _____ white people.Select the best answer from the choices provided.A. the same amount asB. less thanC. more thanD. significantly more than Part A Directions: Use a check to identify the item in each pair that iswritten with sharp and vivid details rather than vague and general ones.A or B1. ___A. My boss finds fault with every little thing that I do, including what I wear and how I arrange my desk.B. Today, my boss told me that I should wear a freshly ironedshirt when I deal with customers, and she also insisted that I putpapers in a desk tray.2. A. Many college students wait until the day before it's due towrite a paper and then panic because they can't even think of a topic towrite about____B. Many college students budget their time poorly and thusoften feel anxious about unfinished tasks, such as papers that are due. Which conclusion does this information support For the nitrogen fixation reaction 3H2(g) + N2(g) = 2NH3(g),Kc = 6.0 x 10-2 at 500C. If 0.253 M H2 and 0.044 M NH3 arepresent at equilibrium, what is the equilibrium concentrationof N2? what numbers are the arrows pointing toC60 and 65 Which of the following sets of numbers could not represent the three sides of a triangle?\{10,17,27\}{10,17,27}\{9,22,30\}{9,22,30}\{6,16,19\}{6,16,19}\{4,7,9\}{4,7,9}