What is the difference between Abstract Classes and
Interfaces? Give the answer as a table format....

Answers were Sorted based on User's Feedback



What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

Answer / mansoor ul hassan

In abstract classes, its upto u to make methods abstract
but in interfaces, all methods are bydefault abstract.

Is This Answer Correct ?    12 Yes 1 No

What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

Answer / sandeep pokala

Interface is a set of abstract methods,all the methods have
to be overridden by the class which ever implements the
interface.

Abstract class is collection of data and methods,which are
abstract. In abstact class some methods may contain
defination,but in interface every method should be abstract
( no definations in the methods)

Is This Answer Correct ?    5 Yes 0 No

What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

Answer / hemalatha ivvala

Abstrat Class: It is a combination of Concrete Methods and
Abstract Methods.

Interface: Which class is only having abstract methods is
called interface.

Concrete Methods: Methods having declaration and definition

Abstrat Method: Methods having only declaration not having
any definition. Becuase abstract methods are used to provide
data abstractions(Means providing method definition and
hiding method declaration to provide security to the client).

Is This Answer Correct ?    2 Yes 1 No

What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

Answer / swati

abstract class
1. abstract class have concrete methods ; interface have no
methods implemented.
2.interface do not come in inheriting chain; abstract class
come in inheriting chain.
3.in an interface no accessibility modifiers are allowed;
abstract class may have accessibility modifier

Is This Answer Correct ?    2 Yes 2 No

What is the difference between Abstract Classes and Interfaces? Give the answer as a table format....

Answer / rt

In abstract class, there can be concrete methods. Whereas it's not the case with interfaces.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More VB.NET Interview Questions

hello friends, I have created a animated button in VB.NET. As its dll file coding can be viewed and also copied to some other location. So my question is how can I protect the Dll file of the animated button so that noone can access it. Any idea about this???????? Thanks Rekha

3 Answers  


What is econo-jit?

1 Answers  


Did vb6 support multi-threading ?

1 Answers  


What is the DIfference between Friend and Protected Friend?

6 Answers   CTS, Sykes Enterprises, TCS,


How can we remove handlers at run time?

1 Answers  


How many classes a dll can contain?

1 Answers  


Explain an assembly?

0 Answers  


Explain the advantages of migrating to vb.net?

1 Answers  


Explain redim keyword?

1 Answers  


What is the differnce between managed code and unmanaged code?

1 Answers  


Advantage of vb.net over vb ?

6 Answers   Digital GlobalSoft,


How do you call a stored procedure in Visual Basic?

1 Answers   CGI,


Categories