Help Needed: How can I pass a function to a class constructor and then store it as some class variable?

Revision en1, by parveen1981, 2021-06-21 17:44:05

Hello guys, I wanted to ask if there is any way such that I can pass a function to the constructor of the class and then store it as some variable so that I can execute it later.

Thanks in advance.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English parveen1981 2021-06-21 17:44:05 303 Initial revision (published)