Java - Object-Oriented Programming (OOPS) Concept - Polymorphism (Runtime & Compile Time) Quiz
# | Quiz |
---|---|
1
Discuss
|
Polymorphism (Runtime & Compile Time)
Which of the following is a type of polymorphism in Java?
Solution |
2
Discuss
|
Polymorphism (Runtime & Compile Time)
When does method overloading is determined?
Solution |
3
Discuss
|
Polymorphism (Runtime & Compile Time)
When Overloading does not occur?
Solution |
4
Discuss
|
Polymorphism (Runtime & Compile Time)
Method overriding is combination of inheritance and polymorphism?
Solution |
5
Discuss
|
Polymorphism (Runtime & Compile Time)
What is the process of defining a method in a subclass having same name & type signature as a method in its superclass?
Solution |
6
Discuss
|
Polymorphism (Runtime & Compile Time)
Which of these keywords can be used to prevent Method overriding?
Solution |
7
Discuss
|
Polymorphism (Runtime & Compile Time)
Which of these is supported by method overriding in Java?
Solution |
# | Quiz |