title: Single-Thread asynchronous processing in Java
body: <p>I have a question about Java threading. Is possible run two tasks asynchronously when I use only Main Thread? I read this article: <a href="https://stackoverflow.com/questions/748175/asynchronous-vs-synchronous-execution-what-does-it-really-mean">Asynchronous vs synchronous execution, what does it really mean?</a>
  Second answer says that is possible case where is only one thread (not main thread and one other) and tasks are executed asynchronously. I think that it is not possible in Java because exists only one flow of control.
  I think that in Java each task need own thread for execution tasks asynchronously.</p>