Workshop BC
pragma solidity ^0.4.21;
contract HelloName {
// This is the message to greet
string greet;
// This is the constructor
function HelloName(string _greet) public {
greet = _greet;
}
// This is the greeting method
function greetme() public constant returns (string) {
return greet;
}
}