Question:What are the abstract class and interface?

 

Answer Abstract class: An Abstract. Class is a class that cannot be instantiated but instead serves as a base class to be inherited by other classes.
Interface: An Interfaces is a collection of unimplemented method definitions and constantswithout specifying exactly how it must be implemented.

 


Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type string is deprecated in D:\webserver\www\vcampusbd_com_https\answers\column_answer_two.php on line 128
+ Report
Total Preview: 545
What are the abstract class and interface?

Copyright © 2024. Powered by Intellect Software Ltd