In this chapter, we will learn about the different control structures provided by Solidity that you can use while writing contracts, such as for and while loops, conditional statements, and much more. Then, we will move on to discussing different types of visibility modifiers for variables and functions, types of functions you can create, contract inheritance, abstract interfaces, and creating libraries.
The following topics will be covered in this chapter:
- Control structure keywords supported by Solidity
- Visibility modifiers applied to variables and functions of contracts
- Different types of functions and their behavior
- Solidity contract inheritance
- The use of abstract contracts
- Writing and using libraries in Solidity