String
is a datatype that supports using literal single(‘) and double(“ ”) quotes, while uint
is a datatype that supports using positive integers. In the code above, uint
is not like `string'string
due to this error: TypeError: Type uint8[4] memory is not implicitly convertible to expected type uint256[4] memory.