revert the helloworld
-pragma solidity ^0.5.2;
+pragma solidity ^0.4.2;
contract HelloWorld{
string name;
- constructor() public {
+ function HelloWorld(){
name = "Hello, World!";
}
- function get() public view returns(string memory ){
+ function get()constant returns(string){
return name;
}
- function set(string memory n) public {
+ function set(string n){
name = n;
}
}
\ No newline at end of file
