Abstract and non-abstract method
Can i call an abstract method from a non-abstract method?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Feb 1, 2012, 7:56 AM
Yes, We can call a abstract method from a Non abstract method in a Java abstract class.
Ex:-
abstract class Abc
{
abstract int hello();
int hai()
{
hello();
return 1;
}
}
Thanks