Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Solidity Inheritance | How To Create Inheritance In Solidity From Parent Contract | Solidity Course
Play lesson

Solidity Course - Solidity Inheritance | How To Create Inheritance In Solidity From Parent Contract | Solidity Course

5.0 (6)
41 learners

What you'll learn

This course includes

  • 27.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Solidity Inheritance Inheritance is one of the most important features of the object-oriented programming language. It is a way of extending the functionality of a program, used to separate the code, reduces the dependency, and increases the re-usability of the existing code. Solidity supports inheritance between smart contracts, where multiple contracts can be inherited into a single contract. The contract from which other contracts inherit features is known as a base contract, while the contract which inherits the features is called a derived contract. Simply, they are referred to as parent-child contracts. The scope of inheritance in Solidity is limited to public and internal modifiers only. Some of the key highlights of Solidity are: A derived contract can access all non-private members including state variables and internal methods. But using this is not allowed. Function overriding is allowed provided function signature remains the same. In case of the difference of output parameters, the compilation will fail. We can call a super contract’s function using a super keyword or using a super contract name. In the case of multiple inheritances, function calls using super gives preference to most derived contracts. Solidity Inheritance | How To Create Inheritance In Solidity From Parent Contract | Solidity Course For any help related to code Errors, Please Join the Discord server Udemy JavaScript Course: https://click.linksynergy.com/link?id=ao2EE1YV5/M&offerid=1060092.851712&type=2&murl=https%3A%2F%2Fwww.udemy.com%2Fcourse%2Fthe-complete-javascript-course%2F Join Discord: https://discord.gg/JSYYd4rk7D Save NFT Marketplace PlayList: https://youtube.com/playlist?list=PLWUCKsxdKl0olgEF4OxXVk2B-jwpGqL5d API PlayList: https://youtube.com/playlist?list=PLWUCKsxdKl0oAFAVuRZxQSYC07UTcl_v_ Solidity PlayList: https://youtube.com/playlist?list=PLWUCKsxdKl0oksYr6IG_wRsaSUySQC0ck Complete JavaScript Course: https://youtube.com/playlist?list=PLWUCKsxdKl0qROhA0XO4_ek9bIwZ4j4Xr HTML Course Code: https://www.daulathussain.com/complete-html-course-daulat-hussain/ =================== HOSTING ++++++++++++++++++++ Best Hosting: https://clients.domainracer.com/aff.php?aff=28826 Follow Me: Instagram: https://www.instagram.com/daulathussain92/ Facebook: https://www.facebook.com/daulat.hussain.18 Twitter: https://twitter.com/DAULATHUSSAIN9 Pinterest: https://in.pinterest.com/daulathussainhealthfitness/ Linkedin: https://www.linkedin.com/company/dh-f Quora: https://www.quora.com/q/schahkxkdudpgjvh Facebook Group: https://www.facebook.com/groups/59011 Facebook Page: https://www.facebook.com/yourdhfitness Subscribe to My Channel: https://www.youtube.com/channel/UCz6_... Workout Video:

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere