Address.send():
Suggested Answer: B
Get Premium CBDE Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
31 comments · newest first
SE
Sena
10 months ago
B sounds off, I think A is the way to go.
GA
Gayla
10 months ago
Totally agree, A makes more sense!
CA
Carin
10 months ago
A is correct, it cascades exceptions.
JE
Jesusa
11 months ago
Wait, are we sure about that? I thought B was the right one.
SE
Serina
11 months ago
Just to clarify, A means transfer fails if there's an error, right?
NG
Nguyet
11 months ago
I feel like I’ve seen examples where address.send() handles errors differently than address.transfer(), but I can't remember which one does what.
IV
Ivette
11 months ago
I’m a bit confused; I thought both functions could cascade exceptions, but I can't recall the exact details.
FA
Fannie
12 months ago
I practiced a similar question where address.transfer() cascaded transactions, so I might lean towards option B.
HE
Henriette
12 months ago
I think I remember that address.send() should return false on error, but I'm not entirely sure about the cascading part.
JU
Juliann
12 months ago
Ugh, these blockchain-related questions always trip me up. I'm going to have to really focus on this one and make sure I don't mix up the details. Maybe I'll jot down a quick comparison of the two methods to help solidify my understanding.
CE
Cecily
1 year ago
This seems straightforward enough. I'm pretty confident that option A is the correct answer, since it accurately describes the error handling behavior of the two methods. I'll mark that one and move on.
KE
Kenneth
1 year ago
Okay, I think I've got a handle on this. The key is to remember that Address.send() will propagate exceptions, while Address.transfer() will return false on error. I'll make sure to double-check my understanding before submitting my answer.
SH
Sheridan
1 year ago
Hmm, I'm a bit confused by the wording of the options. I'll need to think through the differences between cascading exceptions and returning false on error to make sure I understand the implications.
VI
Vincent
1 year ago
This looks like a tricky one. I'll need to carefully review the documentation on the Address.send() and Address.transfer() methods to understand the differences in their error handling behavior.
LA
Lashonda
1 year ago
I'm with James on this one. The documentation clearly states that send() returns false on error, and transfer() is the one that deals with transaction cascading. Option B is the way to go.
CA
Carmen
1 year ago
Haha, this question is a real head-scratcher! I'm going to go with option B, just to be on the safe side. Wouldn't want to get caught out by a tricky wording choice.
AL
Alease
1 year ago
I agree, option B seems like the more logical choice. Let's hope we got it right!
WI
Willow
1 year ago
I'm not sure, but I'll go with option A just to mix things up. It's always good to consider all possibilities.
TE
Tequila
1 year ago
I think option B is the safer choice too. Can never be too careful with these tricky questions.
JA
James
1 year ago
Hmm, I'm not sure about that. The way I understand it, send() returns false on error, while transfer() is the one that cascades transactions. Option B sounds more accurate to me.
HE
Herminia
1 year ago
Yes, send() will return false on error, while transfer() will cascade transactions.
VE
Veronique
1 year ago
I think you're right, transfer() is the one that cascades transactions.
AN
Annabelle
1 year ago
User 2: I believe transfer() is the one that cascades transactions.
UL
Ulysses
1 year ago
User 1: I think send() returns false on error.
CA
Cathern
1 year ago
I'm not sure, but I think A makes more sense because it mentions exceptions.
MI
Mignon
1 year ago
I disagree, I believe the answer is B.
MI
Mirta
1 year ago
I think the answer is A.
GE
Geoffrey
1 year ago
I think option A is the correct answer. The documentation I read said that send() will cascade exceptions, which seems to match the question.
NG
Nguyet
1 year ago
I'm not sure which option is correct. Can someone explain the difference between cascading exceptions and cascading transactions?
AL
Albert
1 year ago
I think option B is the correct answer. It mentions that address.transfer() will cascade transactions, which makes more sense to me.
LO
Lorrie
1 year ago
I agree with you, option A seems to be the correct answer based on the documentation.