
JAVA Summer Internship Quiz-13

Quiz
•
Other
•
University
•
Medium

Gnaneshwar Reddy
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is inheritance in Java?
A) A way to implement abstraction
B) A mechanism to create a new class from an existing class
C) A technique to handle exceptions
D) A method to optimize code execution
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What keyword is used to inherit a class in Java?
A) inherit
B) extends
C) implements
D) inherits
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which of the following is true about polymorphism in Java?
A) It allows a class to have multiple methods with the same name but different parameters
B) It allows a class to inherit from multiple classes.
C) It ensures that a method has a fixed implementation.
D) It is a way to declare abstract methods in a class.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What does the super keyword do in Java?
A) It creates a new instance of the current class.
B) It refers to the immediate parent class of the current class.
C) It is used to call methods of the current class.
D) It terminates the current loop.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. What is an abstract class in Java?
A) A class that can be instantiated but has abstract methods.
B) A class that cannot be instantiated and may contain abstract methods.
C) A class that implements all methods in its interface.
D) A class that only contains static methods.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Which of the following can be abstract in an abstract class?
A) Methods only
B) Fields only
C) Constructors only
D) Methods and fields
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. How do you achieve runtime polymorphism in Java?
A) By using abstract classes
B) By using method overloading
C) By using method overriding
D) By using static methods
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Fundamentals of Python Programming

Quiz
•
University
10 questions
Python Zybooks Module 13 - Inheritance

Quiz
•
University
6 questions
Elementary Java 2

Quiz
•
University
13 questions
DBMS & SQL Classes Feedback

Quiz
•
University
7 questions
LSS 1123 - Week 1

Quiz
•
University
10 questions
WEB Dasar

Quiz
•
1st Grade - University
15 questions
SOAL ANBK HOTS

Quiz
•
5th Grade - University
8 questions
Quiz 2

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University