All Questions
1 question
-1
votes
1
answer
34
views
Can someone please tell me whats the issue i am writing a starter code on remix from solidity: ParserError: Expected ';' but got '-'
pragma solidity ^0.8.6;
contract my_contract{
string public mystring - "hello world!";
}
I have just started coding on solidity I have no previous experience so can someone explain ...