this is an example:
here my requirement is that values from first array should be calculated using the operators from the second array.
To be clear
3+5-2
While examples are good and can HELP clarify, they don't explain what needs to be done. What happens if there are more than two operators in the second array? What happens if you don't have enough digits in the first? Do you follow proper order of operations, or do you execute each operation as you hit it? And so on.
The idea behind programming is that you come up with detailed instructions - pretend you are trying to explain to a 10 year old child how to do what you need done. And always, explain it in English (or whatever natural language you choose) without using java terms.
Once you can explain what to do in all situations, then you start coding, but not before.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors