how can we pass argument to static block of code????
857542May 15 2011 — edited May 16 2011hi ,
My question is we can use static initialization block for having functionality like constructors for initializing static variable ,but we cannot pass arguments to static initialization block then how can I create functionality like parametrized constructors.Whats the alternative shall I use a static method to perform this functionality,since all methods in given class are static and
there is no need of creating instance of class.