![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
601. |
A method can be called only on its ___________. |
A. | variable. |
B. | object. |
C. | method. |
D. | delay. |
Answer» B. object. |
602. |
Constructor will have the same name as ______________. |
A. | class. |
B. | function. |
C. | file. |
D. | package. |
Answer» A. class. |
603. |
_________ Keyword is used to invoke the current object. |
A. | NEW |
B. | THAT |
C. | THIS |
D. | ME |
Answer» C. THIS |
604. |
___________ is a collection of classes. |
A. | package. |
B. | variable. |
C. | class. |
D. | exception. |
Answer» A. package. |
605. |
___________ value cannot be updated. |
A. | end. |
B. | final. |
C. | static. |
D. | view. |
Answer» B. final. |
606. |
Inheritance allows _______ of sub classes. |
A. | creation. |
B. | updation. |
C. | view. |
D. | display. |
Answer» A. creation. |
607. |
______ is a keyword. |
A. | static. |
B. | display. |
C. | view. |
D. | maintain. |
Answer» A. static. |
608. |
When a method calls itseif, it is called __________. |
A. | recursion. |
B. | distance. |
C. | display. |
D. | problem. |
Answer» A. recursion. |
609. |
________ class must give a concrete method. |
A. | abstract. |
B. | constructor. |
C. | least. |
D. | program. |
Answer» A. abstract. |
610. |
Java was developed by the company |
A. | Sun Microsystems |
B. | Microsoft |
C. | Borland |
D. | IBM |
Answer» A. Sun Microsystems |
Done Reading?