
Java Mastery Challenge
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Yosuva Sirumani
Used 4+ times
FREE Resource
Enhance your content in a minute
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main principle of Object-Oriented Programming?
Abstraction
Inheritance
Encapsulation
Polymorphism
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a feature of OOP?
Procedural programming
Inheritance
Object-oriented design
Encapsulation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to create a class in Java?
class
create
function
define
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is inheritance in Java?
Inheritance in Java is a way to define multiple classes with the same name.
Inheritance allows a class to create new classes without any properties.
Inheritance in Java allows a class to inherit properties and behaviors (methods) from another class.
Inheritance is a method to delete properties from a class.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an example of polymorphism?
A method that returns the area of a shape.
A function that sorts an array of numbers.
A class that inherits properties from another class.
A function that calls a 'draw' method on different shape objects.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'super' keyword in Java?
The 'super' keyword is used to define interfaces.
The 'super' keyword is used to access superclass methods and constructors.
The 'super' keyword is used to declare variables.
The 'super' keyword is used to create new classes.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is encapsulation in Java?
Encapsulation is the process of creating multiple classes in Java.
Encapsulation is the bundling of data and methods that operate on that data, restricting direct access to some of the object's components.
Encapsulation refers to the inheritance of properties from a parent class.
Encapsulation is the method of optimizing code performance 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
30 questions
ICT 11 - LAB ACTIVITY (ONLINE CLASSES)
Quiz
•
University
30 questions
Animasi kelas 6
Quiz
•
6th Grade - University
24 questions
BSAB1C FQuiz2
Quiz
•
University
25 questions
Chapter 4 Mastering Algebraic Expressions
Quiz
•
7th Grade - University
25 questions
Web 2.0 and ICT Projects Quiz
Quiz
•
11th Grade - University
25 questions
IT Concepts 2
Quiz
•
12th Grade - University
26 questions
Fun with Computers and Mice
Quiz
•
2nd Grade - University
28 questions
Review Python_G8
Quiz
•
8th Grade - University
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
Discover more resources for Information Technology (IT)
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
