Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain Exam CBDE Topic 3 Question 93 Discussion

Actual exam question for Blockchain's CBDE exam
Question #: 93
Topic #: 3
[All CBDE Questions]

Inheritance is useful, because a contract that is derived from another contract can make use of:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Meghann
5 hours ago
Option A seems to be the correct answer. Inheritance allows a derived contract to access all the public state variables, properties, and functions of the base contract.
upvoted 0 times
...
Josue
6 hours ago
I see your point, Martina, but I still think the correct answer is C. Only public state variables and functions should be inherited.
upvoted 0 times
...
Martina
2 days ago
I disagree, I believe the answer is B. Private state variables should not be accessible by derived contracts.
upvoted 0 times
...
An
7 days ago
I think the answer is A, because derived contracts can access all public state variables and functions.
upvoted 0 times
...

Save Cancel