Java MCQ Test Day-2

Quiz
•
Engineering
•
University
•
Hard
Veera Jagadeesh
Used 1+ times
FREE Resource
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{}
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
UAS Desain Produk

Quiz
•
University
25 questions
Evaluating Information Credibility

Quiz
•
10th Grade - University
22 questions
MIST Webdev Bootcamp Quiz-1

Quiz
•
University
20 questions
EEE Quiz 2

Quiz
•
University
16 questions
MCEDD Midterm Quiz 1

Quiz
•
University
20 questions
Electro2 MSW3

Quiz
•
University
20 questions
Understanding OOP Concepts in Java

Quiz
•
University
15 questions
TRICODE CHALLENGE ROUND 1

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 Engineering
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