Answers for "How to use function without creating its 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 "How to use function without creating its object"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language