1.  Which of the following is true


A class can extend more than one class
A class can implement only one interface
A class can extend only one class and can implements more than one interface
A class can extend only one class and can implements only one interface


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

2.  The .dot operator connects the following two entities :


a class member and a class object
a class object and a class
a class and a member of that class
a class object and a member of that class


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

3.  The methods of interface are __________ by default.


abstract
static
final
none of these


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

4.  The new keyword is used to __________


call a method of a class
Allocate memory to an object
Release memory of an object
None of the above


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

5.  A constructor is a special type of __________


class
variable
method
object


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report