Is a class an object?
No Answer is Posted For this Question
Be the First to Post Answer
Is constructor inherited?
What are data types in oop?
class test { private static void main(String []adsf) { } } explain me that the above code is error or exception
How do you write a conditional statement?
Explain break statement and continue statement?
What are different types of control structures?
What is starvation?
What are three advantages of using 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(); }
abstract class Demo { public void show() { System.out.println("Hello I am In show method of Abstract class"); } } class Sample extends Demo { public void show() { super.show(); System.out.println("Hello I am In Sample "); } } public class Test { public static void main(String[] args) { //I WANT TO CALL THE METHOD OF BASE CLASS IT IS POSSIBLE OR NOT CAN WE USE SCOPE RESOLUTION OPERATOR TO CALL OR JAVA NOT SUPPORTED THAT :: OPERATORE } }
java Api provided try catch finally ,try catch(its ok) but why try finally and exception occured at try then how the flow is?
What is the dot operator?