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 languages are pass by reference?

536


What is the difference between heap and stack memory?

548


What is java used for on a computer?

509


what is server side caching?

1608


Explain wait(), notify() and notifyall() methods of object class ?

596






Can list contain null in java?

627


Can we assign integer value to char in java?

511


What is procedure writing?

510


What are the two ways of implementing multi-threading in java?

816


What are different access specifiers in java?

564


What is methods in java?

516


Why we go for collections in java?

552


What does g mean in regex?

563


Can constructor be synchronized?

543


What are the actions that can occur when a thread enters blocked state?

582