
Java Mastery Challenge

Quiz
•
Information Technology (IT)
•
University
•
Hard
Yosuva Sirumani
Used 3+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
SQL Basics Quiz

Quiz
•
University
24 questions
BSAB1C FQuiz2

Quiz
•
University
25 questions
2nd Midterm Questions Level 3

Quiz
•
University
25 questions
Web 2.0 and ICT Projects Quiz

Quiz
•
11th Grade - University
30 questions
C-Volution (Easy 1)

Quiz
•
University
30 questions
Y9 Python Review

Quiz
•
9th Grade - University
24 questions
LAB_Quiz-2

Quiz
•
University
31 questions
Kuis_02 Pemasaran Digital

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University