Difference between abstract class and interface

Answer Posted / rajasekhar

Interface:
=>In interface we cann't implement methods.
=>We can write any number of mothods. But all those methods
are by default abstract and public.

Abstract Class:
=>In abstract class none/more abstract and non-abstract
mothods we can declare.
=>We can implement mothods in abstract class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between machine config vs. Web config : Dot net architecture

698


Explain about clr?

773


Is dim fs as filestreamobject is a managed code? : Dot net architecture

688


How does an appdomain get created?

724


What other than biginteger has been introduced in system.numerics namespace?

725


Explain dma? : .NET Architecture

701


Explain about code access security?

732


8. Oop-Why and were we use Interfacse and Abstract class.

1773


Whats new features in Visual Studio 2012?

720


server.transfer limitation ?

1959


How can I write my own .NET host?

752


Explain difference between state server and sqlserver? : .NET Architecture

709


Explain difference between machine config vs. Web config? : .NET Architecture

716


which is the institute in hyderabad for providing the live project industry training

2528


Explain dma? : Dot net architecture

752