call method of another class without creating instance in java android

Solutions on MaxInterview for call method of another class without creating instance in java android by the best coders in the world

showing results for - "call method of another class without creating instance in java android"
Leni
01 May 2016
1((BaseActivity) activity).showCart();
2 //class name    context    method name