How can constructor chaining be done by using the super keyword?
No Answer is Posted For this Question
Be the First to Post Answer
What are virtual functions?
class A{ m2(){ } } class B extends A{ m2(){ } } class c extends B{ m2(){ } } class my_class extends c{ m2(){ } pulic static void main(){ ...My_class a = new my_class(); super.super.super.m2(); is this is leagal if not find what is the legal procedure in order to call A's version of m2(); }
Distinguish method overloading and overriding
How we can execute any code even before main method?
Can we use both this () and super () in a constructor?
Explain about main thread in java?
What are heterogeneous objects?
How do you replace all in word?
Is 0 a prime number?
Can there be an abstract class with no abstract methods in it?
How do singleton patterns work?
What does super keyword do?