Abstract and non-abstract method
Can i call an abstract method from a non-abstract method?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Satyapriya NayakRank #47 · 31.5K reputationPosted Feb 1, 2012, 2:56 AM EST
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