java - Asynchronous classes and its features -


newbie in programming, trying understand asynchronous classes , benefits. features can included in class supports such operations? example too

the main benefit program multiple things @ same time, instead of waiting 1 thing finish before doing next.

simple example: want show information twitter , facebook. getting information typically takes quite time. instead of waiting twitter , waiting facebook, can query both @ same time , alerted when information available. halves time user has wait.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -