ExamGecko
Question list
Search
Search

Question 66 - CBDE discussion

Report
Export

When defining a new datatype:

A.
its best to use a contract with public storage variables, so it can be used like a class.
Answers
A.
its best to use a contract with public storage variables, so it can be used like a class.
B.
it's best to use a struct, which is cheaper than deploying a new contract.
Answers
B.
it's best to use a struct, which is cheaper than deploying a new contract.
C.
it's not possible to generate new datatypes in Solidity.
Answers
C.
it's not possible to generate new datatypes in Solidity.
Suggested answer: B
asked 16/09/2024
Jeremiah Hutchins
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first