Can you have an abstract class without abstract methods? explain
Who is Participating?
yes, by defining it as abstract

public abstract class MyAbstractClassWithout AbstractMethods
   public void xyz()
       // whatever

This would be used when you want to ensure the class must be subclassed to use
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.