Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer
- Ends In
00:00:00
Coupon code:
SAVE25
X
Welcome to Pass4Success
Login
|
Sign up
-
Free
Preparation Discussions
Mail Us
support@pass4success.com
Location
PL
MENU
Home
Popular vendors
Salesforce
Microsoft
Nutanix
Cisco
Amazon
Google
CompTIA
SAP
VMware
Oracle
Fortinet
PeopleCert
Eccouncil
HP
Palo Alto Networks
Adobe
ISC2
ServiceNow
Dell EMC
CheckPoint
Discount Deals
New
About
Contact
Login
Sign up
Home
Discussions
Blockchain Discussions
Exam CBDE Topic 2 Question 103 Discussion
Blockchain Exam CBDE Topic 2 Question 103 Discussion
Actual exam question for Blockchain's CBDE exam
Question #: 103
Topic #: 2
[All CBDE Questions]
Multi-Line Comments in Solidity are:
A
working with either // or ///
B
working with /* comment */ or /** @.. natspec style */
C
not possible, all comments must be single-line.
Show Suggested Answer
Hide Answer
Suggested Answer:
C
by
Nickolas
at
Oct 23, 2024, 08:35 PM
Limited Time Offer
25%
Off
Get Premium CBDE Questions as Interactive Web-Based Practice Test or PDF
Contribute your Thoughts:
Submit
Cancel
Paris
2 months ago
If option C was the answer, I'd probably just comment out my entire contract. Problem solved!
upvoted
0
times
Amie
22 days ago
B) working with /* comment */ or /** @.. natspec style */
upvoted
0
times
...
Irving
1 months ago
A) working with either // or ///
upvoted
0
times
...
...
Keena
2 months ago
I'm impressed that Solidity has such a comprehensive commenting system. Truly a developer's dream.
upvoted
0
times
...
Leonie
2 months ago
Wait, there's a natspec style for comments? I've been living under a rock!
upvoted
0
times
Silvana
14 days ago
B) working with /* comment */ or /** @.. natspec style */
upvoted
0
times
...
Desiree
2 months ago
A) working with either // or ///
upvoted
0
times
...
...
Coral
2 months ago
I'm glad Solidity has more than just single-line comments. Saves me from typing // over and over again.
upvoted
0
times
...
Shaquana
2 months ago
I'm not sure, but I think multi-line comments in Solidity are working with /* comment */ or /** @.. natspec style */ because it allows for more detailed explanations in the code.
upvoted
0
times
...
Cassi
2 months ago
Option B is the correct answer. Solidity supports both multi-line and single-line comments.
upvoted
0
times
Trinidad
28 days ago
Yes, that's right. Solidity allows for both types of comments.
upvoted
0
times
...
Reita
1 months ago
B) working with /* comment */ or /** @.. natspec style */
upvoted
0
times
...
Rebecka
1 months ago
Oh, I see. Single-line comments are also supported in Solidity.
upvoted
0
times
...
Grover
1 months ago
A) working with either // or ///
upvoted
0
times
...
Darci
1 months ago
That's correct! Solidity does support multi-line comments.
upvoted
0
times
...
Olga
1 months ago
B) working with /* comment */ or /** @.. natspec style */
upvoted
0
times
...
...
Brinda
2 months ago
I agree with Miss, multi-line comments in Solidity are definitely working with /* comment */ or /** @.. natspec style */.
upvoted
0
times
...
Miss
3 months ago
I think multi-line comments in Solidity are working with /* comment */ or /** @.. natspec style */.
upvoted
0
times
...
Log in to Pass4Success
×
Sign in:
Forgot my password
Log in
Report Comment
×
Is the comment made by
USERNAME
spam or abusive?
Commenting
×
In order to participate in the comments you need to be logged-in.
You can
sign-up
or
login
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
Paris
2 months agoAmie
22 days agoIrving
1 months agoKeena
2 months agoLeonie
2 months agoSilvana
14 days agoDesiree
2 months agoCoral
2 months agoShaquana
2 months agoCassi
2 months agoTrinidad
28 days agoReita
1 months agoRebecka
1 months agoGrover
1 months agoDarci
1 months agoOlga
1 months agoBrinda
2 months agoMiss
3 months ago