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\vcampus.net\answers\column_answer_two.php on line 128
+ Report
Total Preview: 561
What are the abstract class and interface?

Copyright © 2025. Powered by Intellect Software Ltd