What happens when main () method is declared as private?
Can we execute a program without main?
What is the difference between exception and error in java?
What is the purpose of the return statement?
What is the difference between Java1.4 and Java1.5
What is singleton service?
What does you mean in math?
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(); }
Can we override static methods in java?
How do you remove all elements from an arraylist in java?
Is it possible to create Userdefined Unchecked Exception also?If Yes, give an example?
What is complexity and its types?
What is package protected in java?