I have vehicle data object returning string array .I want to convert or cast to Arraylist BuyingDo data object.I have ArrayList objectList
I am getting value like this
VehicleDo list[]=data.getList()
I am converting like this
objectList=(ArrayList<BuyingDo)list
but its not working can anybody tell how to do this
Your question is a bit… well… unclear.
I think you mean either this:
Or this:
Assuming of course that VehicleDO can be cast to BuyingDO.
Something like that?