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
Object-Oriented Programming Quiz

Quiz
•
University
10 questions
Pretes Inheritance P1

Quiz
•
University
8 questions
A Level OOP

Quiz
•
12th Grade - University
15 questions
JAVA_Quiz-2

Quiz
•
University
6 questions
Java Inheritance

Quiz
•
University
6 questions
Inheritance in JAVA

Quiz
•
University
10 questions
Objection-Oriented Concepts

Quiz
•
University
10 questions
Object Oriented Programming

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University