6.  An interface can be declared using __________ keyword


class
interface
interfaces
implements


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

7.  Which of the following is correct way of implementing an interface salary by class manager ?


class manager extends salary {}
class manager implements salary {}
class manager imports salary {}
None of the mentioned


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

8.  A packages is a collection of


classes
interfaces
editing tools
classes and interfaces


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

9.  What is the name of the collection interface used to represent elements in a sequence ?


Collection
Set
List
Map


Answer

 Option

The List is a collection interface which permits duplicates and represent elements in a particular order.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report

10.  Which of the following is the correct statement to create an object of Data class ?


Data d=new object();
Data d=new Data();
Data d()=new Data();
Data d()=new Data();


Answer

 Option

No answer description available for this question.

Workspace

Report
Mail id: Report Error:

Answer Workspace Report