----------------------------------------------------------- New Message on BDOTNET
-----------------------------------------------------------
From: SBK
Message 7 in Discussion
Abstract Classes
Can have one or more abstract
methods
Members can have access
specifiers.
A class can extend only one abstract
class
Interfaces
All the methods are abstract
Members can't have access specifiers.Public
by default.
A class can implement multiple
interfaces.
S.B.Kar_______________
Senior Systems
Engineer
GMSBU
Wipro
Technologies
Ph # 8520408 Extn: 82239
-----Original Message-----
From: dinu_gee
[mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 4:02
PM
To: BDOTNET
Subject: Re: Abstract Classes vs
Interface
New Message on BDOTNET
Abstract
Classes vs Interface
Reply
Reply to Sender Recommend
Message 6 in
Discussion
From: dinu_gee
Hi,
Normally Interfaces were mostly used in development
because they are easy to develop multiple
inheritances.
Just Method definitions is required
here.
U pls go through the InterNet for complete details on
this.
Abstract classes they will be used in a situation
where we require a class which acts as a base class for the sub
class.
Most of the time they will be used as a base
class.
dhinesh
-----Original
Message-----
From: Sathisha Krishnamurthy
[mailto:[EMAIL PROTECTED]
Sent: Monday,
March 08, 2004 3:54 PM
To:
'BDOTNET'
Subject: Re: Abstract Classes vs
Interface
New Message on BDOTNET
Abstract Classes
vs Interface
Reply
Reply to Sender
Recommend
Message 3 in
Discussion
From:
Sathisha Krishnamurthy
thanks dinu
can you suggest which is the
appropriate situation to go for a interface or a
abstract class?
thanks
sathisha
-----Original
Message-----
From: dinu_gee
[mailto:[EMAIL PROTECTED]
Sent:
08 March 2004 15:52
To:
BDOTNET
Subject: Re: Abstract Classes
vs Interface
New Message on BDOTNET
Abstract Classes vs
Interface
Reply
Reply to Sender
Recommend
Message 2 in
Discussion
From:
dinu_gee
Hi ,
Abstract Classes
Interfaces
1.
They can have concrete methods with in
it
1. Here it can only have method
definitions.
2.
Single Inheritance is supported
here 2.
Using Interfaces , Multiple Inheritances can be
established.
dhinesh
-----Original
Message-----
From: Sathisha
Krishnamurthy
[mailto:[EMAIL PROTECTED]
Sent:
Monday, March 08, 2004 3:32 PM
To:
BDOTNET
Subject: Abstract Classes vs
Interface
New Message on BDOTNET
Abstract Classes vs
Interface
Reply
Reply to Sender
Recommend
Message 1 in
Discussion
From:
Sathisha Krishnamurthy
Hi all
Can
any one describe when you will need to use
Abstract class and when
you need to use
interface and what is the difference between the
two.
Thanks in advance
Sathisha
Krishnamurthy
View other groups in this
category.
View other groups in this
category.
View other groups in this category.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]
