Tuesday, November 29, 2011

It is a saying that static methods in JAVA programs should be minimised. What is the reason for this? any problems arise or there is any performance measures to be looked into it.

Static Method shld be minimised in Java Programm.For Ex . if i am m accessing any method and request modified the object then when other request comes it wll met to modfied Object.So we shld minimise the Static method in Java program as Original (Initial) value may be lost.
Category:Java Interview Questions

No comments:

Post a Comment