Can abstract class pass parameters?

Is it possible? Even though A is abstract, you can receive parameters of type A (which, in this case, would be objects of type B ). You cannot really pass an object of class A , though, since A is abstract and cannot be instantiated.

Sizin İçin Seçtik  Can a class have static methods?

Leave a Reply

Your email address will not be published. Required fields are marked *