C4
Coding 4 Bread
News
Careers
Certifications
Playground
More
Sign in
Get started
Certified Blockchain Developer
Certified Blockchain Developer Fundamentals — Quiz 1
Question 1 of 40
medium
AI explanations
What is the purpose of the 'constructor' in Solidity?
A
To define the contract's functions.
B
To initialize the contract's state when it's deployed.
C
To emit events.
D
To destroy the contract.
Previous
Check answer