
Final Quiz

Quiz
•
Computers
•
University
•
Hard
SRINIVASARAO 22PHD7042
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When does Exceptions in Java arises in code sequence?
Compile Time
Run Time
can occur any time
None
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords is not a part of exception handling?
try
finally
thrown
catch
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class exception_handling
{
public static void main(String args[])
{
try
{
System.out.print("Hello" + " " + 1 / 0);
}
catch(ArithmeticException e)
{
System.out.print("World");
}
}
}
Hello
World
Hello World
HelloWorld
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords must be used to monitor for exceptions?
try
finally
throw
catch
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these classes is not part of Java’s collection framework?
Maps
Arrays
Stack
Queue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Collection in Java?
A group of objects
A group of Classes
A group of Inerfaces
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
import java.util.*;
class Array
{
public static void main(String args[])
{
int array[] = new int [5];
for (int i = 5; i > 0; i--)
array[5-i] = i;
Arrays.fill(array, 1, 4, 8);
for (int i = 0; i < 5 ; i++)
System.out.print(array[i]);
}
}
12885
12845
58881
54881
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Java Test Basic

Quiz
•
University
18 questions
Quiz React

Quiz
•
University
18 questions
Java thread - MCQ

Quiz
•
University
20 questions
Socket Programming

Quiz
•
10th Grade - University
20 questions
Java Quiz 1

Quiz
•
University
20 questions
QUIZ DASAR DASAR PEMROGRAMAN JAVA

Quiz
•
11th Grade - University
19 questions
Javascript - Revisão

Quiz
•
University - Professi...
15 questions
Front-end

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University