Quiznetik

Java Programming | Set 7

1. A method can be called only on its ___________.

Correct : B. object.

2. Constructor will have the same name as ______________.

Correct : A. class.

3. _________ Keyword is used to invoke the current object.

Correct : C. THIS

4. ___________ is a collection of classes.

Correct : A. package.

5. ___________ value cannot be updated.

Correct : B. final.

6. Inheritance allows _______ of sub classes.

Correct : A. creation.

7. ______ is a keyword.

Correct : A. static.

8. When a method calls itseif, it is called __________.

Correct : A. recursion.

9. ________ class must give a concrete method.

Correct : A. abstract.

10. Java was developed by the company

Correct : A. Sun Microsystems