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
What are the restrictions that are applied to the java static methods?
How do you read a char in java?
What is local variable and instance variable?
Can I extend singleton class in java?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is classpath?
What is ascii code?
What are static blocks in java ?
What is thread count in java?
What methodology can be employed to locate substrings inside a string?
What is a substring of a string?
Difference between vector and arraylist.
Name component subclasses that support painting in java programming?
What the difference is between execute, execute Query, execute Update?
What is the relationship difference the canvas class and the graphics class?