what is delegate and how works delegate and event.
Answer / Loveleen Kaur
In programming, a delegate (also known as an event handler or callback) is a type of class in .NET Framework that allows objects to call methods in other objects. A delegate is used to encapsulate a method call and serves as a reference to this method. An event is a signal in object-oriented programming that something has happened, often generated by an object in response to some user action or system event. When an event occurs, the associated delegate's methods are invoked.
| Is This Answer Correct ? | 0 Yes | 0 No |
Why COBOL/400 is giving 95 session error when opening a file even though the file is having key and the screen or display file is having IND ARA defined?
This is a puzzle question .... The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another. "In the prison is a switch room, which contains two light switches labeled A and B, each of which can be in either the 'on' or the 'off' position. I am not telling you their present positions. The switches are not connected to anything. "After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must move one, but only one of the switches. He can't move both but he can't move none either. Then he'll be led back to his cell. "No one else will enter the switch room until I lead the next prisoner there, and he'll be instructed to do the same thing. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. "But, given enough time, everyone will eventually visit the switch room as many times as everyone else. At any time anyone of you may declare to me, 'We have all visited the switch room.' and be 100% sure. "If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will be fed to the alligators." What is the strategy they come up with so that they can be free?
Busy waiting is a method whereas a taskwaits for a given event by continiously checking for an event to occur. What is the main problem with this approach
how much fee for deccan soft institute .how to block seat for sandeep sir class reply soonnnn
How you ll create customizing Tcode.
Given n red balls and m blue balls and some containers, how would you distribute those balls among the containers such that the probability of picking a red ball is maximized, assuming that the user randomly chooses a container and then randomly picks a ball from that.
what are the top level class of interface in java?
What is Partial class and its use?
Is buffer size and file block size is similar? If similar,at which case it will be same size?
What is ur porject Architecture? If anyone ask what i have to specify here..
Which of the following are Java modifiers?
What is the meaning of client-server application. The purpose of Client-Server Application. with description.