Quantcast
Viewing all articles
Browse latest Browse all 26

One method called in several methods

I have a class that looks like this: class A { public void method1(){ iniCall(); // Do something finalCall(); } public void method2(){ iniCall(); // Do something different finalCall(); } // ... more methods like this } How can I simplify this iniCall and finalCall so not to write them in every function (or several […]

The post One method called in several methods appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 26

Trending Articles