what is abstrac class? why it is use?

Answer Posted / madipally naveen kumar

Abstract Class is a class , in which at least one method is
declared as abstract.Abstract method is a method for which
implementation is not provided in that class.This method
can be implemented by the classes which inherited the
Abstract class and we can not instantiate the abstract
class.Abstract classes can be used when we want to
partially leave certain methods for inheriting classes to
implement.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of stored procedures, triggers, indexes in php?

605


What is the basic function to search files for lines (or other units of text) that contain a pattern.

650


Do you know what is the differences between $a != $B and $a !== $B?

575


When do you use define() and when do you use const. What are the main differences between those two?

661


What is a definer in mysql?

640






How do I escape in php?

622


What is a php object?

578


What is php.ini & .htacess file?

628


What's the output of the ucwords function in this example?

648


Is php a mvc?

584


Which function is used to read a file removing the html and php tags in it upwork?

562


What are examples of dependent variables?

615


Define soundex()?

590


How does the identity operator ===compare two values in PHP?

716


What would occur if a fatal error was thrown in your php program?

621