Hi. I am last year IT student, currently I am learning OOPS concept. I am little bit stuck between when to for abstract class and when to go for interface. If you are having any information’s then reply me. It can helpful to me. Thanks in advanced.
Hi. I am last year IT student, currently I am learning OOPS concept. I am little bit stuck between when to for abstract class and when to go for interface. If you are having any information’s then reply me. It can helpful to me. Thanks in advanced.
• If your class designs have some common and some different actions then use abstract class
• If your class designs have only different actions then use interface.
If class has many implementations then we use Interface and class which have particular features and some other features may change then use abstract class.
Bookmarks