+ Start a Discussion

according @future annotation...

@future annotation is find methods  and its excute asynchronously.. What synchronous and asynchronous Explain with Example?




Sridhar BonagiriSridhar Bonagiri



Please go through the below URL for more details.





Sridhar Bonagiri

I ll try to explain in very easy way .. suppose you are calling someone and person has picked up the call and you both are talking to each other .so its a real time action you are performing or question you are asking is been answered immediately by other person its like conversation .. that is synchronous .

Suppose you are writing a mail and mail has been sent. You will not get the reply back immediately or in fraction of seconds it can take 1 min to several hours to days. a time lag between message sent and received . that's Asynchronous .

I hope it helps you