Hey all,
I have a simple doubt regarding performance. Suppose i am having a common class which contains some common methods.
Now i need to use common methods in my specific class. Which way is better?
1) Extend the super class which contains common methods and there by we can just call those methods.
2) The commom class contains methods which are public static, so just call them by Class.methodname
Thanks & Regards,
Animesh
I have a simple doubt regarding performance. Suppose i am having a common class which contains some common methods.
Now i need to use common methods in my specific class. Which way is better?
1) Extend the super class which contains common methods and there by we can just call those methods.
2) The commom class contains methods which are public static, so just call them by Class.methodname
Thanks & Regards,
Animesh