For performance should I use interface or class. I know what and why to use interfaces and classes...but from performance point of view...I need some suggestion.
I read the below statement from Log4J manual. --------In log4j, logging requests are made to instances of the Logger class. Logger is a class and not an interface. This measurably reduces the cost of method invocation at the cost of some flexibility. Should I write an interface and then implement it...or directly create a class...?? Should I write an interface and make that a library for all projects...or make it a class so that has to be compiles everytime with the project that I am dealing? Please help! --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
