Passing an Object to a method and returning a list of Objects any example [closed]

Where is the class for CallFlowResource??
A simple way would be for you to create a list and add the values as you want them to be outputted.

It you would look like this:

public List<CallFlowResource> getCallFlow(CallFlowObject obj)
   List<CallFlowResource> callFlowRes = new ArrayList<>();
   for(int i = 0; i<size; i++)
   return callFlowRes;

Browse More Popular Posts

Leave a Comment