The following is the sample code for various methods
The running result is:
Call the general method:
------------------ -------------------------------------------------- ------------
Call the constructor method: add1(5,6)
11
----------------- -------------------------------------------------- -------------
Call function direct measurement method: result(3,4)
7
Call function direct measurement method: result2(3)
6
------------------------------------------------ --------------------------------
Function used as data
(2 3) (4*5 )=25
-------------------------------------------------- ------------------------------------
hello world
100