java execute functions at same time code example Example: java execute funtions at same time new Thread(() -> [YOUR METHOD]()).start();