how to call 10 function at same time in java code example Example: java execute funtions at same time new Thread(() -> [YOUR METHOD]()).start();