
Java MCQ Test Day-2
Authored by Veera Jagadeesh
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not abstract?
Thread
List
Array
String
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not a correct statement?
Every class containing abstract method must be declared abstract
Abstract class defines only the structure of the class not its implementation
Abstract class can be initiated by new operator
Abstract class can be inherited
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these packages contains abstract keyword?
java.lang
java.io
java.util
java.System
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the output of the following code?
2 2
3 3
Run Time Error
Compile Time Error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these can be used to fully abstract a class from its implementation?
Object
Package
Abstract Class
Interfaces
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following access specifiers should be used with interfaces?
public
private
protected
default
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct way of implementing an interface salary by class manager?
class manager extends salary {}
class manager implements salary {}
class manager imports salary {}
class manager gets salary{}
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
15 questions
Measurement & Measuring Instruments Quiz
Quiz
•
University
15 questions
Quiz Counter, FSM 2024
Quiz
•
University
15 questions
unit1 MCQ
Quiz
•
University
20 questions
Quiz Round For Group 1
Quiz
•
University
20 questions
Computer Hardware Basics
Quiz
•
9th Grade - University
20 questions
Understanding Schematic and Logic Diagrams
Quiz
•
University
15 questions
Bioenergy
Quiz
•
University
15 questions
Engineering Design Experience Quiz
Quiz
•
8th Grade - 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
Discover more resources for Engineering
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University