What is difference between Abstract Class and Interface?
Answer Posted / tarunkumar
Abstract class is a class in which it will contain both the
abstract and non-abstract methods.The abstract class must
be inheritable by another class. In vb.net it will be
defined using mustinheritable keyword.
The syntax is :
Public MustInheritable Class classname
Interface is a class in which it will contain only the
abstract methods. The interface can be implemented or not
by the another class.The functions in interface will be
implemented by the another class which implements the
interface.
The syntax is :
Public Interface interfacename
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the source code for display the picture in button click event?
Using VB, how can you change the Mouse Pointer?
Explain the difference between an xml "fragment" and an xml "document."
What is a preprocessor directive in vb.net?
What is non_deterministic finalization?
What is the use of assembly?
Explain cts?
What is an application domain? how they get created?
I Am Developing A project where I can send Message from One Computer to Another Computer With The Help Of LAN.Already I Have developed..It is working Fine With The Details Of ..TO,FROM,REF No,DATE,BODY...Now I Want To Add Attachments part in the same projects...How Can I Send Attachment File & How To Send It..I Am Working in VB.Net 2005 With out Any database. Can Any One Help me ??How To Write Code??Plz Send me a copy to my Mail also...I Dont Need Any Software Available in The Internet...Plz refer me The Code in VB.Net maloy.adhikari@in.com
What are different types of jit ?
What is the main use of a namespace?
Which is the tool which can convert visual basic old version to .net compatibility version?
write a program to develop a graphic user interface application of marks book with students names and their names.the program should show the following options main menu,add student details,display student details,maximum mark and minimum mark.
What is the importance of a Button control?
What do you mean by serialization and deserialization and it's use.