you can’t create a object of abstract class because there is an abstract method which has nothing so you can call that abstract method too . If we will create an object of the abstract class and calls the method having no body(as the method is pure virtual) it will give an error.