Summary
Full Transcript
මේ වීඩියෝවෙන් ඔබට ඉගනගන්න පුළුවන්: 🔹 Solidity වල public, internal, private variable visibility කියන්නේ මොකක්ද? 🔹 Variable එකකට visibility keyword එකක් assign කරන විදිහ 🔹 Contract එකක් තුල variable access කරන හැටි 🔹 Inherited contract එකකින් internal, private, public variable access test කරන විදිහ 🔹 Remix IDE එකෙන් contracts 2ක් භාවිතා කරලා variable visibility check කරන practical test එකක් 🧠 Visibility keywords help protect your contract’s internal logic. Anyone learning Solidity for real-world projects must understand this topic clearly. Ideal for Students, Blockchain Developers, and Beginners! 👉 Subscribe කරන්න, Like කරන්න, Comment එකක් දාන්න ඔබට පැහැදිලි නැති දේවල් තියේනම්! In this video, I’ll explain: ✅ What is variable visibility in Solidity ✅ How to use public, internal, and private with variables ✅ What happens when you try to access variables from another contract ✅ How inheritance affects variable access ✅ How to test variable visibility using two contracts ✅ Full Remix IDE demo with live outputs This video will help you understand how to control access to variables and how visibility impacts contract design and inheritance.
