Deal of The Day! Hurry Up, Grab the Special Discount - Save 25%
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
US
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Amazon
Google
CompTIA
SAP
VMware
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ServiceNow
Dell EMC
CheckPoint
Linux Foundation
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Blockchain Discussions
Exam CBDE Topic 3 Question 109 Discussion
Blockchain Exam CBDE Topic 3 Question 109 Discussion
Actual exam question for Blockchain's CBDE exam
Question #: 109
Topic #: 3
[All CBDE Questions]
Solidity files:
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.
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';'.
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Herschel
at
Mar 03, 2025, 01:36 PM
Limited Time Offer
25%
Off
Get Premium CBDE Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Carmelina
3 days ago
Hmm, I see your point. Maybe I should reconsider my answer.
upvoted
0
times
...
Albert
4 days ago
Option C sounds like the way to go. Being able to split my code across multiple files and selectively import what I need is really important for large-scale projects.
upvoted
0
times
...
Albert
6 days ago
I disagree, I believe the answer is C. You can import contracts from multiple files.
upvoted
0
times
...
Carmelina
11 days ago
I think the answer is A, everything should be in one single file.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
Save
Cancel
Carmelina
3 days agoAlbert
4 days agoAlbert
6 days agoCarmelina
11 days ago