So I have two XSD generated classes. They have all methods common and all methods of both classes have the same parameters as well. They are in different packages. How can I write a common method where I can do it once for both classes. I am trying to present the scenario as below:-
package a.b.c;
class x{
void m(){};
int n(){};
string o(){};
}
Other one
package a.b.d;
class x{
void m(){};
int n(){};
string o(){};
}