Available Files

No files uploaded.

Pradeepthi Discussion started by Pradeepthi 6 months ago
I have a scenario , Can you please explain how can we achieve this:
I have a Class A {

public int Add();

public int Sub();

public int Mul();

}

I want to inherit Class A to Class B and Class C, but method 1 has to restrict to Class B only and method 2 & 3 has to restrict only to Class C. how can achieve this.

Replies
You need to be a member of this group before you can participate in this discussion.