What is the time taken by java to call a method in another package?
- by satish
I have an assignment where i need to do feasibility study on two of my approaches and find optimized one.
There are two packages A and B
User input is gathered in A and then sent to B for execution.
Now my approaches are
1. Call B methods from package A one by one.
2. Create a common method in B and send all the input as parameters.
Which is…