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 are the different pipelining hazards and how are they eliminated? : Dot net architecture

605


What is the purpose of Treeview control?

557


What is .net viewstate?

496


Explain what does the term "green architecture" mean? : .NET Architecture

528


Explain about .net garbage collector?

560






What is the purpose of Accordian in jquery? Where it can be used?

1864


Explain the process of gc?

550


Define an interrupt? : Dot net architecture

554


.Net Frame work arch?

1620


Explain Singleton design pattern in .net

578


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

492


What is .net mobile images control. : Microsoft dot net mobile

496


What is code access security (cas)?

575


What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile

471


What is the mesi? : .NET Architecture

607