Object/Abstract/Final in JAVA

Quiz
•
Computers
•
University
•
Medium

Usama Rahman
Used 104+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these class is super class of every class in Java?
String class
Object class
ArrayList class
Abstract class
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these method of Object class is used to obtain class of an object at run time?
Class getclass()
void getclass()
get()
None of the mentioned
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of these keywords can be used to prevent inheritance of a class?
super
constant
extends
final
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class relies upon its subclasses for complete implementation of its methods?
Object class
abstract class
ArrayList class
None of the mentioned
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Java program?
2
0
Compilation Error
Runtime Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these keywords are used to define an abstract class?
Abstract
abstract
abstract class
abst
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is not type of inheritance?
Single inheritance
Double inheritance
Hierarchical inheritance
Multilevel inheritance
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Weekly Contest #8 - TechXNinjas

Quiz
•
University
10 questions
Quiz IF433 w9

Quiz
•
University
10 questions
Java Questions & Answers

Quiz
•
University
8 questions
Hibernate Java

Quiz
•
University
10 questions
JAVA FOR ANDROID-JAVA

Quiz
•
University
10 questions
FGWHN Python OOP - Polymorphism

Quiz
•
University
10 questions
PBO BAB IV Enkapsulasi

Quiz
•
University
15 questions
Introduction to OOP Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

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

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University