Blockchain CBDE Exam - Topic 3 Question 109 Discussion
Solidity files:
C) can be spread across multiple files. To import all contract from a file you can use 'import 'myfile.sol'. To import Contract MyContract from myfile.sol you use 'import {MyContract as SomeContract} from 'myfile.sol';'.
A) can't be split across multiple files, everything should be in one single file.
B) can be split across multiple files, but every contract must be in a file with the same name as the contract itself.
Jaime
6 months agoElouise
7 months agoRuby
7 months agoShoshana
7 months agoFranchesca
7 months agoAlonso
7 months agoClay
8 months agoFranklyn
8 months agoGlory
8 months agoMiesha
8 months agoDorcas
8 months agoAja
8 months agoRashida
8 months agoKallie
1 year agoRene
1 year agoLeah
11 months agoRonald
11 months agoTy
12 months agoErasmo
12 months agoRose
1 year agoHerman
12 months agoRaul
12 months agoDortha
1 year agoCarmelina
1 year agoAlbert
1 year agoRashad
1 year agoChandra
1 year agoAlbert
1 year agoCarmelina
1 year ago