[After thought]
I was proof reading my reply, and the thought occured to me,
that I can have the so called common code be an abstract class, that
contains the neccessary methods for the *contract*.
Well that thought, just blew away my reply ;)
Indeed... because this is what abstract classes are for
Jason Barnett wrote:
Gerard Samuel wrote:
I would like bar::do_something_internal() to have an access level of
*private*
But this would fail, as the interface can only have *public* methods.
Is there a way to get bar::do_something_internal() to be private?
Or am I SOL, and it has be public?
Thanks
Gerard Samuel wrote:
I would like bar::do_something_internal() to have an access level of
*private*
But this would fail, as the interface can only have *public* methods.
Is there a way to get bar::do_something_internal() to be private?
Or am I SOL, and it has be public?
Thanks
interface foo
{
3 matches
Mail list logo