Skip to content

Lesson 2: Confusion regarding array declaration #1732

Answered by cromewar
AyuK03 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @AyuK03
You are right, in other programming languages the contract is like a Class, so you can create a group of it into an array.
So, you have SimpleStorage contract, and if you create SimpleStorage[] public simpleStorageArray you are creating a group of Simple Storage contracts, nice isn't it?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AyuK03
Comment options

Answer selected by cromewar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants