Java Exception Handling

Flashcard
•
Computers
•
11th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the advantage of Exception Handling?
Back
To avoid abnormal termination of a program
2.
FLASHCARD QUESTION
Front
What is the parent class of All Exceptions in JAVA?
Back
Throwable
3.
FLASHCARD QUESTION
Front
Which of the following key word is optional in Exception handling program: try, catch, finally, throw?
Back
finally
4.
FLASHCARD QUESTION
Front
try block may or may not contains catch blocks
Back
True
5.
FLASHCARD QUESTION
Front
What is an exception?
Back
Error occurred during the execution of a program
6.
FLASHCARD QUESTION
Front
How to create our own exception?
Back
using 'throw' keyword
7.
FLASHCARD QUESTION
Front
Exception classes belongs to following package: import java.io.*, import java.lang.*, import java.util.*, import java.lang.Exception.*
Back
import java.lang.*
Answer explanation
Only IOException are found in the java.io.*
Create a free account and access millions of resources
Similar Resources on Wayground
5 questions
Arrays

Flashcard
•
11th Grade
10 questions
Java Classes and Objects

Flashcard
•
12th Grade
7 questions
Java Basics #2

Flashcard
•
10th - 12th Grade
9 questions
flashcard - 7(exceptions and file handling)

Flashcard
•
12th Grade - University
13 questions
Java Classes and Objects

Flashcard
•
12th Grade
14 questions
AP CS ArrayLists

Flashcard
•
12th Grade
5 questions
Enhanced For Loops

Flashcard
•
10th - 12th Grade
7 questions
CodeHS 2.8 Functions to 2.12 User Input Review

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade