I've got a query when it comes to threads since im quite new.
//Contructs Class B which implements the Runnable interface.
//does some stuff.
my question is theres 2 threads here, but what if i want Class B to wait for an event to happen from Class A in order to carry on processing? I'm not sure how to do this... Anyone wanna shine some light into it?