Java Test - 1
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Vikas Bandaru
Used 5+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to create a subclass in Java?
extends
super
this
class
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax for declaring an array in Java?
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to define a method that cannot be overridden in a subclass?
static
final
private
public
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which keyword is used to handle exceptions in Java?
5.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Which of the following is a valid method declaration in Java?
public void myMethod(int x, y)
public void myMethod(int x, int y)
public void myMethod(int x)
None of the above
6.
MULTIPLE SELECT QUESTION
1 min • 2 pts
Which of the following is a valid declaration of a static method in a Java class?
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is not a primitive data type in Java?
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
40 questions
C Programming Midterm Review
Quiz
•
11th - 12th Grade
45 questions
TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA
Quiz
•
12th Grade
44 questions
Movies
Quiz
•
2nd Grade - Professio...
40 questions
Remidi DKV1
Quiz
•
10th Grade
40 questions
Administras Infrastrktur Jaringan - Kelas XII TKJ - SMK Peristek
Quiz
•
9th - 12th Grade
40 questions
Tech and Design
Quiz
•
7th - 10th Grade
39 questions
ข้อสอบโลกดาราศาสตร์
Quiz
•
10th Grade
38 questions
Cyber 1 Module 1 Review
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
