
Java Test - 1
Authored by Vikas Bandaru
Computers
9th - 12th Grade
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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?
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
42 questions
Digital and Information Systems (VAC)
Quiz
•
12th Grade
45 questions
Davinci Resolve 17 Fusion 101
Quiz
•
11th Grade - Professi...
40 questions
WJEC ICT Unit 3 Mock Revision
Quiz
•
10th - 11th Grade
35 questions
MIL_1ST_QUIZ
Quiz
•
12th Grade
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
43 questions
Data Representation Unit
Quiz
•
9th - 11th Grade
44 questions
Networking Essentials - Ch 4 Media
Quiz
•
11th - 12th Grade
35 questions
Latihan PAS AIJ
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade