Question

I am generating a calendar using some utility jar. But in one scenario, I need to call my method instead of the method inside the jar. Now problem is I initially call method one which is inside the jar, that method one calls method two that is again inside the jar and so on. I want a different operation only inside one of the methods which is invoked after 9-10 methods.

So do I need to override all these 10 methods to call my custom mwthod or is there any other way around.

Thanks.

Was it helpful?

Solution

You have to extend that class and override that method if it is public..but before doing it read its javadoc if it is vailanble..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top