
The Complete Solidity Course - Zero to Advanced for Blockchain and Smart Contracts - Review - Public Private External an
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the initial data value set in Contract A?
5
20
10
15
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in Contract A is responsible for setting the data to 25?
Function Z
Function X
Function Y
Function L
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of function L when accessed in Contract B?
10
3
7
25
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What happens when function L is changed from public to private?
It can still be accessed externally.
It becomes inaccessible from outside the contract.
It generates no errors.
It can be accessed by any contract.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If function L is set to external, what is the limitation?
It becomes private.
It can only be accessed by derived contracts.
It cannot be used for internal calls.
It cannot be accessed externally.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?