Answers for "call method from another class without creating instance"

0

call method of another class without creating instance in java android

((BaseActivity) activity).showCart();
 //class name    context    method name
Posted by: Guest on November-25-2020

Code answers related to "call method from another class without creating instance"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language