Answers for "use method without cerating object"

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
0

call method without creating object java

((BaseActivity) activity).getlanuage()
Posted by: Guest on December-03-2020

Code answers related to "use method without cerating object"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language