What is a Contract in Solidity.

Contract is a similar to classes in java. It is collection of contract functions and it’s data(state) that is stored in ethereum blockchain network.

Syntax of an contract code:

pragma

Solidity Compilation Process

                                --- ABI
                                |

Solidity code > Solidity Compiler –| | —- MachineByte Code – Ethereum Block chain