)Which of following can be thrown using the throwstatement?? Error

? Throwable

? Exception

? RuntimeException

? All of Given

? None of given

Answers

Answer 1
Answer:

Answer:

All of Given

Explanation:

The throw keywords can be used to throw any Throwable object. The syntax is :

throw <Throwable instance>

Note that Error and Exception are subclasses of Throwable while RuntimeException is a subclass of Exception. So the hierarchy is as follows:

Throwable

-- Error

-- Exception

   -- RuntimeException

And all of these are valid throwable entities. As a result "All of Given" is the most appropriate option for this question.

Answer 2
Answer:

Answer:

The answer is B: throwable

Explanation:

Throwable is the super class of all exceptions


Related Questions

You need to design online to form in which users have to type their name and password to log into an application. The password can be acombination of numbers and letters. Which data type is most suitable for a password field?Thedata type is most suitable to define a password field.
"Write an SQL query that displays the Ssn and Last name of all employees who is a supervisor of a Department Manager"
Express the worst case run time of these pseudo-code functions as summations. You do not need to simplify the summations. a) function(A[1...n] a linked-list of n integers) for int i from 1 to n find and remove the minimum integer in A endfor endfunction
It is possible to force the Hardware Simulator to load a built-in version of chip Xxx. This can be done by:
What is the main purpose of the status report? O A. To ensure that management and the team has a clear picture of the state of the project. B. To alert management to exceptional or unusual situations, C. To document the impact of change requests from the client. D. To detail the mistakes made in planning and budgeting,​

PLEASE HELP!!!For this activity, you will create two designs for the same project. For example, you might choose to create a CD cover for your favorite band’s newest release, or you might want to design a menu for the local deli. No matter what you decide for your subject matter, the two designs must involve different media. One of these media will be an image-editing program, such as Inkscape. You will learn more about the basic tools available in Inkscape later in this lesson. The two designs should incorporate different techniques. For example, you might make one design abstract, while making the other more realistic. Be sure to save both of your designs. Scan or take a picture of the design that wasn’t created in an image-editing program. You will submit this item later in this lesson as your portfolio item. Select the link to access the Techniques Activity Rubric.

Answers

Answer:

I'm not exactly sure on what the question is, but from reading it, I determined that you'll be creating 2 different designs using Inkscape/Photoshop. I'm leaving 2 of my designs in here for you to use on your project. Unknown on what to do about the design that wasn't created in an image-editing program.

Why we need each section of prologprogram?

Answers

Answer:

Prolog program are used in the artificial intelligence and the web development in a systematic manner process. As, it is also sometimes known as declarative language which basically consist of some facts and list. Prolog program are divided into the sections that are:

  • Domain sections
  • Clauses sections
  • Predicates sections
  • Goal sections

We need each section of the prolog program because all the sections introduced the systematic program and performed there particular functions so by using all these processing steps an efficient function are formed.

Object-oriented programming allows you to derive new classes from existing classes. This is calledcomposition.
interfaces.
inheritance
polymorphism

Answers

Answer: Inheritance

Explanation: Inheritance is the feature that is displayed by the class where it happens to acquire the properties of the other classes and exhibit it. the inheriting nature of the class is seen in two different categories -superclass and subclass. It is a concept that is usually followed in the object -oriented programming. The reason for the inheritance is to reuse the element and their properties of other class.

Answer:

PoLymORpHiSm Kid. Other kid is wrong mark me branliest. TRUST ME

Explanation:

;3

Consider the following instruction: OR( %1111_0000, AL ) ; After its execution, what will be true about the bits stored in AL?

Answers

Answer:

the higher order bits in AL will be true

Explanation:

We know from the truth table that in an OR operation, once one operand is true the result is true, no matter the value of the other operand. From the above AL will have the higher order bits to be true since the first four higher order bits are 1s, 1111_0000, this is regardless of the original values of AL. We cannot however ascertain if the lower bits of AL are true from this. Note 1 evaluates to true while 0 is false

A(n) _____ is a harmful program that resides in the active memory of the computer and duplicates itself.Worm
Virus
Keylogger
Timebomb

Answers

Answer: Worm

Explanation: Worm is the malicious software program which acts as the infection in the computer system. It has the ability to replicate itself and spread in the other systems .It is found in those parts that have automatic operation and non-noticeable.

The effect of the worm is slowing down the operations ,disturb the network etc.Other options are incorrect because virus is the malicious program that infects the host, key-loggers are used for monitoring of system and  time bomb is the program for releasing the virus in computer network. Thus, the correct option is worm.

is the amount of variation between the lightest highlight and the darkest shadow in a particular image.

Answers

Contrast is the amount of variation between the lightest highlight and the darkest shadow in a particular image.

What is Contrast?

The visual ratio of various tones in an image is known as contrast in photography. The textures, highlights, shadows, colors, and clarity of a photograph are the result of this difference. The range of brightness, from lightest to darkest, in an image is known as contrast. Very bright highlights and very dark shadows characterize a high-contrastphotograph. High contrast occurs when an image's shadows or highlights are occasionally almost entirely black or almost entirely white. A crucial component for expressing particular moods in your photos is contrast. High contrast images stand out, reveal the subject's textures, and convey a sense of aplomb, vigor, and power. In both street photography and wildlife photography, high contrast is frequently used. Images with low contrast sometimes have a dreamlike quality.

To know more about Contrast visit:

brainly.com/question/1413078

#SPJ4