
Java quiz based on inheritance
Authored by shruti keshari
Computers
University
Used 402+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of following Java Program?
Derived::show() called
Base::show() called
Run time Error
Compilation Error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of following Java Program?
10
20
Compilation Error
Run Time Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Output of following Java Program?
12
321
123
23
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of following program?
Base::show() called
Derived::show() called
Compiler Error
Runtime Error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following program?
Base::show() called
Derived::show() called
Compiler Error
Run Time Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which inheritance in java programming is not supported
Multiple inheritance using classes
Multiple inheritance using interfaces
Multilevel inheritance
Single inheritance
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is subclass in java?
A subclass is a class that extends another class
A subclass is a class declared inside a class
Both above.
None of the above.
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
10 questions
Python quick quiz
Quiz
•
University
10 questions
pointers and structures
Quiz
•
University
11 questions
What is a computer
Quiz
•
KG - University
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
14 questions
Semi-Long Quiz#1 - SAM, NW3A-3E
Quiz
•
University
12 questions
CIS1103 Week 9_10 CLO3 Part 1
Quiz
•
University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
15 questions
07 - Map
Quiz
•
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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