
Java 2
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Medium
Fouad Kayali
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a class in Java?
A) A function template.
B) A blueprint for creating objects.
C) A specific type of data structure.
D) A type of variable.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to inherit a class in Java?
A) extends
B) super
C) this
D) implements
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'static' keyword indicate?
A) The variable or method belongs to the main class.
B) The variable or method belongs to an instance of a class.
C) The variable or method belongs to the class rather than any instance.
D) The access to the variable or method is restricted.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an OOP principle?
A) Encapsulation
B) Inheritance
C) Polymorphism
D) Compilation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an object in Java?
A) A reference type variable that can store primitive data types only.
B) A runtime entity and instance of a class.
C) A type of data structure.
D) A blueprint for creating static methods.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an interface in Java?
A) A class that is used to implement security.
B) A template that can be applied to a class.
C) A collection of abstract methods and constants.
D) A type of data structure.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to implement an interface to a class?
A) extends
B) super
C) implements
D) static
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
15 questions
Excel for Business Q2
Quiz
•
Professional Development
10 questions
Számítógépes fogalmak
Quiz
•
Professional Development
13 questions
Guess the Retro Computer 1
Quiz
•
KG - Professional Dev...
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
15 questions
Unit 1 lesson 1
Quiz
•
University - Professi...
10 questions
CodeMonkey Platform Management & Resources
Quiz
•
Professional Development
10 questions
Google Apps
Quiz
•
10th Grade - Professi...
10 questions
Revisão LP 2023.1
Quiz
•
Professional Development
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
