Programming - Abstract Classes

You Are Here :: Home > JAVA > Abstract Classes - General Questions

 
19.

___________________ classes are used to provide a template or design for concrete subclasses down the inheritance tree.                        


A. Abstract B. Static
C. Non-Static D. Explicit




20.

___________________ is a process of hiding the implementation details and showing only functionality to the user.                        


A. Abstract B. Static
C. Non-Static D. Explicit




21.

_______________________ focus on what the object does instead of how it does it.                        


A. Abstraction B. Encapsulation
C. Inheritance D. Polymorphism




22.

How many ways to achieve abstraction in Java?                        


A. 1 B. 2
C. 3 D. 4




23.

A ______________________ is the method that returns the instance of the class.                        


A. Factory Method B. Static
C. Non-Static D. Explicit




24.

An _____________________ class can have data member,abstract method,method body,constructor and even main() method also.                        


A. Abstract B. Static
C. Non-Static D. Explicit




« prev

1

2

3

4

5

next »

 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on