Java MCQ Quiz ( Part - 9 ) | infoStud blogs

Java Programming Language Output this code Quizzes 1

Following quiz provides Multiple Choice Questions (MCQs) related to Core Java. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz

1. Can an abstract class define both abstract methods and non-abstract methods?





2. What does polymorphism mean in Java?





3. What is the advantage of polymorphism?





4. What is the signature of a method?





5. What must a non-abstract subclass do with an abstract method of its superclass?





6. Assume that there is three classes Computer, AppleComputerand IBMComputer. What does the relationship between these classes look like?





7. What must be true if a subclass of an abstract superclass does not override the abstract methods of the superclass?





8. How many objects of a given class can be in a program?





9. What is the name of the class that is the ancestor of each class in Java?





10.What is an abstract method?





Post a Comment

0 Comments