Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » Java » Java Interview Questions on Interfaces

Java Interview Questions on Interfaces - 6


Question: 1

(A) Thread
(B) Object
(C) Runnable
(D) Class

Level: Practitioner Category of MCQ: interfaces



Question: 2

(A) Yes
(B) No

Level: Practitioner Category of MCQ: interfaces



Question: 3

(A) Compilation Error
(B) Hello CppBuzz
(C) 13
(D) Hello CppBuzz13

Level: Practitioner Category of MCQ: interfaces



Question: 4

(A) It is not allowed. Compilation Error
(B) It is allowed. CppBuzz
(C) It is allowed. Compilation Error
(D) None of the above

Level: Practitioner Category of MCQ: interfaces



Question: 5

(A) abstract is a keyword
(B) abstract is a method
(C) abstract is a class
(D) All of these

Level: Beginner Category of MCQ: interfaces



Question: 6

(A) 16 mph, lope
(B) 24 mph, lope
(C) 27 mph, lope
(D) Compilation fails

Level: Practitioner Category of MCQ: interfaces



Browse Java Categories

Datatype Variables Operators Decision Making Loops Methods Reference Variables Arrays Classes and Objects Abstract Class Singleton Class Modifiers Inheritance Overriding Polymorphism Abstraction Encapsulation Files and I/O TypeCasting Packages Exceptions Collections Framework Numbers Class Date & Time Regular Expressions Data Structures Interfaces Multithreading Other