Difference between abstract class and interface

Answer Posted / aktharul ameen

1.Abstract class is act as a base class which define some
rule to its sub class or derived class where as interface
gives its methods and properties to be implemented by
derived class

2.Abstract class can be private,public etc...where as
interface are intended for public only.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is cookie less session?

762


What are the five stages in a dlx pipeline? : Dot net architecture

726


Can you explain atlasuiglitz library?

700


What is the use of TPL DATAFLOW?

723


Define dma? : Dot net architecture

730


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1652


How can we perform data binding in atlas?

682


Explain about httpruntime.cach.get(); method?

765


4. Wcf- what Asych and Sych call and how that works

1634


What do you know about machine.config file ?

731


Define a managed code? : Dot net architecture

682


What is .net mobile automatic paging? : Microsoft dot net mobile

766


What is the cli? Is it the same as the clr?

696


How do I prevent concurrent access to my data?

746


Explain the five stages in a dlx pipeline? : .NET Architecture

691