Also, if class A and class B have private or protected constructors then you wont be able to create instances of them, so you'd need to mark the methods Addition and Subtract as static.
Show us some code, and explain why you have marked the constructors as private and protected will better help us work out what you should be doing.
/- Sam Judson : Wrox Technical Editor -/
|