1. Which of the following statements are correct about a delegate? Inheritance is a prerequisite for using delegates. Delegates are type-safe. Delegates provide wrappers for function pointers. The declaration of a delegate must match the signature of the method that we intend to call using it. Functions called using delegates are always late-bound.






Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->Statements of affairs method is called or known as _____ method.....
QA->…………….means the annual financial statements and other statements prescribed under Rule 65 of Kerala Panchayat Raj (Accounts) Rules, 2011?....
QA->Hackers who breaks security of a system for malicious intend are called _____?....
QA->The first MPI function call made by every MPI Process is the call to :....
QA->Who is the author of the book "How Late It Was, How Late" ?....
MCQ->Which of the following statements are correct about a delegate? Inheritance is a prerequisite for using delegates. Delegates are type-safe. Delegates provide wrappers for function pointers. The declaration of a delegate must match the signature of the method that we intend to call using it. Functions called using delegates are always late-bound.....
MCQ->Which of the following statements are correct about the delegate declaration given below? delegate void del(int i); On declaring the delegate a class called del will get created. The signature of del need not be same as the signature of the method that we intend to call using it. The del class will be derived from the MulticastDelegate class. The method that can be called using del should not be a static method. The del class will contain a one-argument constructor and an lnvoke() method.....
MCQ->Which of the following statements are correct about delegates? Delegates are not type-safe. Delegate is a user-defined type. Only one method can be bound with one delegate object. Delegates can be used to implement callback notification. Delegates permit execution of a method on a secondary thread in an asynchronous manner.....
MCQ->Which of the following statements are correct about static functions? Static functions can access only static data. Static functions cannot call instance functions. It is necessary to initialize static data. Instance functions can call static functions and access static data. this reference is passed to static functions.....
MCQ->Which two statements are true for any concrete class implementing the java.lang.Runnable interface? You can extend the Runnable interface as long as you override the public run() method. The class must contain a method called run() from which all code for that thread will be initiated. The class must contain an empty public void method named run(). The class must contain a public void method named runnable(). The class definition must include the words implements Threads and contain a method called run(). The mandatory method must be public, with a return type of void, must be called run(), and cannot take any arguments.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions