1.

Mention What Is The Difference Between Procs And Blocks?

Answer»

The difference between PROCS and BLOCKS,

  • Block is just the part of the SYNTAX of a METHOD while proc has the characteristics of a block.
  • Procs are objects, blocks are not.
  • At most ONE block can appear in an argument list.
  • Only block is not able to be stored into a variable while Proc can.

The difference between Procs and Blocks,



Discussion

No Comment Found