Hi Friend
I am having two class Ford and Car, both classes is having methods display. I can't touch this because both classes are third party class.
Say for Ex :
class Ford {
public void meth(){
System.out.println("Display Method Ford");
}
}
class Car{
public void meth(){
System.out.println("Display Method Car");
}
}
Class FordCarImpl {
public void meth(){
// Need Ford Method
// Need Car Method
Can you please tell me How to call those two methods my implemented class instead of creating the object?
Regards
Sheik Dawood.K