What is the difference between Abstract Classes and
Interfaces? Give the answer as a table format....
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Do event have return type?
What is misl code?
What is jagged array in vb.net?
Explain about visual basic.net?
i could not run my application in any computers if i want to run it i have to install the full version of visual studio 2005. it is really hard and feel embarrassing in front of the people though i installed .net framework where goes wrong
What is redim keyword?
What is the ruby interface generator?
Is vb.net a programming language?
What is intermediate language in .NET ?
20 Answers Digital GlobalSoft,
List the two main parts of .net?
What do you mean by serialization and deserialization and it's use.
hello thank you for replying to my question regarding adding barcode fonts in vb.net project. I have downloaded a free font and added in my vb.net project but now i dont know how to use that i need to generate barcodes can any body help me how to use those fonts these are font3of9 .i need a small code to use these fonts to generate barcode thank u!