1
Answer

Two abstract classes with same method name

Ask a question
Manoj Bisht

Manoj Bisht

16y
2.7k
1
How to provide the different implementations to two abstract classes methods and methods name are same

Example

abstract class abstA
{
public abstract void get(int num);
}

abstract class abstB
{
public abstract void get();
}

How to use the get() method of two abstract classes

Answers (1)