Answers for "call a object not a class java"

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 a object not a class java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language