pragma solidity ^0.4.22;
contract father{
function dahan() external pure returns(string){
return "dahan";
}
}
contract outside{
father public f= new father();
function testf() public view returns(string){
return f.dahan();
}
}
我想问一下,这个outside合约里new了一个father合约,它是不是算outside合约的成员变量?如果它和father是一模一样的,那它是怎么部署的?