class unparalleled slight -- best approach?


say i have category that's meant perform unparalleled function. after behaving function, destroyed. there any reason move approaches?



// initialize arguments constructor
myclass myobject = new myclass(arg1, arg2, arg3);
myobject.mymethod();

// pass arguments method
myclass myobject = new myclass();
myobject.mymethod(arg1, arg2, arg3);

// pass arguments stationary method
myclass.mymethod(arg1, arg2, arg3);


i being intentionally fake details, try fortify opposite situations. nonetheless i didn't unequivocally have mind rudimentary library functions math.random(). i'm pondering some-more classes perform specific, challenging task, nonetheless wholly need (public) slight it.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members