Answers for "solidity public string"

0

solidity public string

// SPDX-License-Identifier: MIT
// compiler version must be greater than or equal to 0.7.6 and less than 0.8.0
pragma solidity ^0.7.6;

contract HelloWorld {
    string public greet = "Hello World!";
}
Posted by: Guest on July-06-2021

Browse Popular Code Answers by Language