R4R
Right Place For Right Person TM

How you can differentiate abstract class and interface?

previous previous previous
Question:
How you can differentiate abstract class and interface?

Question:How you can differentiate abstract class and interface?


Answer
There are some main difference between abstract and interface are given below: 1.In an abstract we can use sharable code where in the case of interface their is no facility to use sharable code. 2.In which class we implement an interface class. All method that we use should be defined in interface. Where as class those extending an abstract while a class extending an abstract class their is no need to defined methods in the abstract class.

By:Vivek
Date:

How you can differentiate abstract class and interface?

Post Your Answers


User Name:
Answers:

Related Links

  1. What do you understand about Joomala in PHP?
  2. How can we create a database using PHP and myqsl?
  3. How we can upload videos using PHP?
  4. How do you understand about stored procedure,Triggers and transaction in php?
  5. What function we used to change timezone from one to another ?
  6. Why is PHP-MySQL used for web Development?
  7. How to print \ in php with out using . or *?.
  8. How you differentiate among sort(),assort() and Ksort()?
  9. How we use array_search() in PHP?
  10. How session will work when we disable cookies of client browser?
  11. PHP means? uses of PHP? types of PHP? explain PHP?
  12. how can we connect more than one database into webpage..

Question:How you can differentiate abstract class and interface?

Back Home Next

New Updates

Topics

Topics

R4R
R4R
R4R
R4R
R4R
R4R
R4R
R4R