to execute the assigned function (function1)
function2 (); //run function2 on the main thread
}
}
Need help with your own assignment?
Our expert writers can help you apply everything you've just read — to your actual assignment.
Get Expert Help Now →