The document contains a series of multiple choice questions about Java programming topics. The questions cover concepts like object-oriented programming, classes, inheritance, recursion, abstract classes and more. The document also states that Java was developed by Sun Microsystems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
7 views
Java-Programming (Set 7)
The document contains a series of multiple choice questions about Java programming topics. The questions cover concepts like object-oriented programming, classes, inheritance, recursion, abstract classes and more. The document also states that Java was developed by Sun Microsystems.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
Java Programming
7 of 7 sets
601. A method can be called only on its ___________.
A. variable. B. object. C. method. D. delay. Answer:B
602. Constructor will have the same name as ______________.
A. class. B. function. o m C. file. . c D. package. te Answer:A a q M c 603. _________ Keyword is used to invoke the current object. A. NEW B. THAT M C. THIS D. ME Answer:C
604. ___________ is a collection of classes.
A. package. B. variable. C. class. D. exception. Answer:A
605. ___________ value cannot be updated.
A. end. B. final. C. static. D. view. Answer:B
606. Inheritance allows _______ of sub classes.
A. creation. B. updation. C. view. D. display. Answer:A
607. ______ is a keyword.
A. static. B. display. C. view. D. maintain. Answer:A
608. When a method calls itseif, it is called __________.
A. recursion. B. distance. C. display. D. problem. Answer:A
609. ________ class must give a concrete method.
A. abstract. B. constructor. C. least. D. program. Answer:A