0

Thread to call some methods

I have some methods that when my program starts They call and process data. getpeymentdata(); filltable(); getmycards(); How should use thread for this methods? And how thread help process ?

26th Sep 2019, 9:51 PM
hamid
hamid - avatar
1 Resposta
+ 1
it is useful if yo need do two or more things in same time. eg to processes data in background. https://docs.oracle.com/javase/tutorial/essential/concurrency/runthread.html
26th Sep 2019, 10:58 PM
zemiak