how to call method without creating object in java code example Example: call method without creating object java ((BaseActivity) activity).getlanuage()