Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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:

Shanda
2 months ago
Woah, this is a tricky one! I'm gonna go with B, just to be safe. Can't go wrong with public and private variables, right?
upvoted 0 times
Ty
13 days ago
User1: That's a good point, but I still think B covers all the important variables and functions.
upvoted 0 times
...
Eileen
16 days ago
User3: I'm not so sure, I think A might be the correct answer. Public and internal functions are also useful.
upvoted 0 times
...
Teri
1 months ago
User2: Yeah, I agree. It's always good to be safe when it comes to inheritance.
upvoted 0 times
...
Rosalyn
1 months ago
User1: I think B is the right choice too. Public and private variables are important.
upvoted 0 times
...
...
Lenna
2 months ago
Haha, this question reminds me of that time I tried to inherit my dad's debt. Turns out that's not how it works! Anyway, I'm going with option A.
upvoted 0 times
Shaunna
1 months ago
Yeah, option A is the right choice. Inheritance is a powerful feature in Solidity.
upvoted 0 times
...
My
1 months ago
I think option A is correct, you can inherit all public state variables and functions.
upvoted 0 times
...
...
Carmelina
2 months ago
I was a bit confused by the options, but I think C is the right answer. The question specifically mentions public state variables, properties, and functions, which matches C.
upvoted 0 times
...
Meghann
2 months 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
Katina
13 days ago
Exactly, it helps in reusability and maintaining code consistency.
upvoted 0 times
...
Glory
14 days ago
So, inheritance is like extending the functionality of a contract?
upvoted 0 times
...
Cletus
16 days ago
Yes, that's right. It's a powerful feature of Solidity.
upvoted 0 times
...
Ahmad
1 months ago
I think option A is correct, inheritance allows access to all public state variables and functions.
upvoted 0 times
...
...
Josue
2 months 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 months ago
I disagree, I believe the answer is B. Private state variables should not be accessible by derived contracts.
upvoted 0 times
...
An
3 months ago
I think the answer is A, because derived contracts can access all public state variables and functions.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77