Click in order · Blockchain and Web3 course · Module 6: Solidity Basics

Implementing a Constructor

Arrange the elements in the correct order to create a constructor that sets the owner

Items to click

  • =
  • {
  • }
  • constructor
  • ()
  • owner
  • msg.sender;

You can check the correct answer by solving this task in the CodeWorlds game.