CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » Java » Java Interview Questions on Inheritance

Java Interview Questions on Inheritance - 9


Question: 1

(A) Inheritance increases execution of program
(B) Inheritance is useful in code re-usability
(C) Inheritance minimizes programming loop holes
(D) None of the above

DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 2

(A) extends is a datatype
(B) extends is a keyword
(C) extends is a class
(D) extend is a package

DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 3

(A) 0
(B) 10
(C) Compilation Error
(D) Exception

DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 4

(A) 0
(B) 10
(C) Compilation Error
(D) Exception

DiscussOnForum
Practitioner inheritance[Posted by: Admin | Chicago, USA]



Question: 5

(A) 1
(B) 2
(C) 3
(D) 4

DiscussOnForum
Beginner inheritance[Posted by: Admin | Chicago, USA]



Question: 6

(A) Reading...
(B) Reading Book
(C) Reading Code
(D) Compilation Error

DiscussOnForum
Practionar inheritance[Posted by: Admin | Chicago, USA]



Question: 7

(A) Private
(B) Protected
(C) Public
(D) Package-Private

DiscussOnForum
Practionar inheritance[Posted by: Admin | Chicago, USA]



Question: 8

(A) cougar c f
(B) feline cougar c c
(C) feline cougar c f
(D) Compilation fails

DiscussOnForum
Practionar inheritance[Posted by: Admin | Chicago, USA]



Question: 9

(A) alpha beta
(B) beta beta
(C) gamma gamma
(D) Compilation fails

DiscussOnForum
Practionar inheritance[Posted by: Admin | Chicago, USA]


[Contribute to this Website]


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 Serialization Multithreading Networking Sending Email Applet Basics Other