No. That wud be caught at compile time.
Moreever, conceptually, as u cant create an instance of an abstract class (they are meant fr inheritance only) , there is no point having a private member in an abstract class.
Thanx and Regards
Ashish
vikas_arora80 <[EMAIL PROTECTED]> wrote:
vikas_arora80 <[EMAIL PROTECTED]> wrote:
Guys,
I am quite new to C-Sharp , so please bear fro a few days.
Talking of abstract classes :
abstract class AbstractFactory
{
// Methods
abstract public AbstractProductA CreateProductA();
abstract public AbstractProductB CreateProductB();
}
Can the abstract classes have private members?
Please reply.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/Microsofts_C_Sharp/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
