Given that Triangle implements Runnable, and: Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads totemporarily pause and allow the other thread to execute?()
- AThread.wait();
- BThread.join();
- CThread.yield();
- DThread.sleep(1);
- EThread.notify();