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 the use of pattern in java?

788


how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)

2125


What is a numeric literal?

761


What are measurable parameters?

794


What is static data type in java?

783


What is a class variable?

815


Wha is the output from system.out.println(“hello”+null); ?

907


Explain what access modifiers can be used for variables?

822


How can you set the applet size?

828


What is an abstract class and what is it’s purpose?

731


What is a war file?

767


What is java full form?

734


how to write a program for sending mails between client and server

1823


What are the 2 types of java programs?

806


What is variable in java?

735