Share:
Notifications
Clear all

Earn While Learning Web3 Programming>> Start Here FREE!!!

[Solved] Intro To Constructor In Solidity

1 Posts
1 Users
2 Reactions
463 Views
1
Topic starter

What Is Constructor in Solidity?

 

 

 

 

NOTE:

This Is An Exercise From Our FREE Smart Contract Development With Solidity For Beginners Course (If you have not enrolled yet, you can join the course totally for FREE).

 

 

1 Answer
1
Topic starter

Constructor in Solidity is used to initiate the state of a Smart Contract at the point of deploying it to the Blockchain. 

Constructor code block only run ones and after been deployed it does not work anymore.

Share: