ExamGecko
Question list
Search
Search

Question 71 - CBDE discussion

Report
Export

If contract MyContractA is derived from Contract MyContractB, then this would be the right syntax:

A.
contract MyContractA is MyContractB { … }
Answers
A.
contract MyContractA is MyContractB { … }
B.
contract MyContractA inherit (MyContractB) {…}
Answers
B.
contract MyContractA inherit (MyContractB) {…}
C.
contract MyContractA extends MyContractB {…}
Answers
C.
contract MyContractA extends MyContractB {…}
D.
contract MyContractB derives MyContractA {…}
Answers
D.
contract MyContractB derives MyContractA {…}
Suggested answer: A
asked 16/09/2024
Swen Leuning
49 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first