1.             Fill in the blanks :

 

a)       An object is a/an  ___________  of a class.

 

b)       _______________  is a property that allows two or more classes to respond to the same message in different ways.

 

c)        The process of representing the essential features of a system without getting involved with the complexity of the entire system is called ____________ .

 

d)       A __________  loop is executed at least once.                                          

 

 

2.             Differentiate between :

a)       Call by value & call by reference

b)       private & public access specifiers

c)        instance variable & static variable

 

3.             Define a class.

 

4.             Mention any two features of a constructer.

 

5.             What is function overloading ?

 

6.             State any two features of a static method.

 

7.             What is the largest value that can be represented by the following data types :

a)                   short

b)                   byte

Hosted by www.Geocities.ws

1