
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
40 questions
ĐỀ CƯƠNG ÔN TẬP CUỐI KÌ 1_TIN HỌC 10_KNTT
Quiz
•
12th Grade
40 questions
Ujian Sekolah Informatika 2022/2023
Quiz
•
9th Grade
40 questions
Computer Science Pre-Assessment Quiz
Quiz
•
9th - 12th Grade
45 questions
Comptia Network+ chapter 1-3 exam
Quiz
•
11th Grade - University
40 questions
Visual Basic Kelas XI Quiz
Quiz
•
11th Grade
43 questions
LESSON 3 AND 4 (Individual quiz)
Quiz
•
12th Grade
40 questions
Penilaian Akhir Semester Ganjil - PBO Kelas XI RPL -SMK_AB
Quiz
•
11th Grade
37 questions
ôn tập giữa kì 2 lớp 11
Quiz
•
11th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade