what the difference of call another contract by interface?

by Smith Jone   Last Updated September 11, 2019 14:28 PM

 interface ERC20Interface {
   function transfer(address _to, uint256 _value) external; //A
   function transfer(address _to, uint256 _value) public returns (bool success); // B
   function transferFrom(address _from, address _to, uint256 _value) external;
 }

What's the difference of A and B ?

Tags : solidity


Related Questions


How to map an address with a string array in solidity?

Updated October 09, 2018 12:28 PM

How to handle dynamic size string array in solidity?

Updated November 28, 2018 04:28 AM

What is the status of forbidden call in constructor?

Updated December 12, 2018 08:28 AM

How can I pass struct from one contract to another?

Updated January 10, 2019 23:28 PM

How to transfer Ether to ERC20 token contract?

Updated July 23, 2018 00:28 AM