Web3, Blockchain, Ethereum, Solidity.
Solidity program to demonstrate // creating a constructor pragma solidity ^0.8.0; // Creating a contract contract constructorExample { // Declaring state variable string str; // Creating a constructor // to set value of 'str' constructor() public { str = "Hello"; } // Defining function to // return