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

}
}

Answer Posted / kapilpahujamca

I TELL THEM IT IS NOT POSSIBLE TO CALL THE BASE METHOD AND I
ALSO REPLY THAT JAVA DOES NOT SUPPORT :: OPEARTOR IT IS
IMMPOSSIBLE

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between class and object in java?

782


How to use string tokenizer class.

881


Can you make a constructor final in Java?

881


Why charat is used in java?

853


How will you load a specific locale?

768


What is the purpose of garbage collection in java, and when is it used?

825


What is native method in java?

814


Why is a constant variable important?

727


Why do we need wrapper classes?

840


What is difference between word and integer?

838


What is the escape character in java?

765


What is the difference between length and length() method in java?

892


What are abstract methods in java?

917


What is synchronization and why is it important in java programming?

735


Are arrays classes in java?

760