What is difference between Constructor , Method and Block ?

Best way to describe: Block: A group of statements
Method: A block of code which does some useful task Ex: Add, Sub.
Constructor: A special method which is used to create an instance of a class.

Comments