PC Review


Reply
Thread Tools Rate Thread

abstract class and private member.

 
 
ManTis
Guest
Posts: n/a
 
      9th Jan 2007
Well, the member can still be used by protected/public functions of the
class, called from derived class objects, so yeah, it is usable.

 
Reply With Quote
 
 
 
 
Marc Gravell
Guest
Posts: n/a
 
      10th Jan 2007
> Well, the member can still be used by protected/public functions of the
> class, called from derived class objects, so yeah, it is usable.


Except (OP) "having only one abstract method", so no such methods (with
bodies); and since it is private (not protected) it is invisible to
derived objects.

Marc

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
abstract class 'does not implement interface member ...' Ben Voigt [C++ MVP] Microsoft C# .NET 52 25th Jun 2007 02:13 PM
abstract class and private member. archana Microsoft C# .NET 2 10th Jan 2007 07:40 PM
Abstract Class versus Private Constructor Andrew Robinson Microsoft C# .NET 2 22nd Jan 2005 09:58 AM
Adding member property to abstract class C.E.O. Gargantua Microsoft C# .NET 4 20th Jan 2005 11:00 PM
How to detect the existance of a private member from inside the class itself Bob Microsoft C# .NET 5 18th Jan 2004 02:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:25 PM.