Skip to main content

Object Oriented Programming Lessons - Part 1 topics



ඉතින් යාලුවනේ ඔයාලට මම දැන් මම ඔයලට පැහැදිලි කිරිමට බලාපොරොත්තු වෙන OOP පාඩම් මාලාව ඔයාලට කියනම්. මම හිතනවා එක ඔයාලට පහසුවක් වෙයි කියල. මම කොටස් 2ක්ත තමයි මේ පාඩම් මාලාව ඉදිරිපත් කරන්න හිතන් ඉන්නේ. පලවෙනි කොටස මං දන් ඔයලට ඉදිරිපත් කරන්නම්.
  1. OOP -Introduction
  2. OOP -What is class & object
  3. OOP - What is constructor
  4. OOP - What is abstraction 
  5. OOP - What is encapsulation
  6. OOP - Default values and declaration Values
  7. OOP - What is method overloading
  8. OOP - What is constructor overloading
  9. OOP - What is method call by values
  10. OOP - What is method call by reference
  11. OOP - What is key word "this"
  12. OOP - What is static methods
  13. OOP - What is static attributes
  14. OOP - What is static initilizer
  15. OOP - What is static object initilizer
  16. OOP - What is object blocks
  17. OOP - What is inheritance rules
  18. OOP - What is multiple inheritance using interface
  19. OOP - What is super keyword vs this key word
  20. OOP - What is method overriding
  21. OOP - What is overriding rules
  22. OOP - What is polymophism
  23. OOP - What is runtime polymophism
  24. OOP - What is keword "private","final"
  25. OOP - What is abstract classes
  26. OOP - What is abstract methods
  27. OOP - What is interfaces
  28. OOP - What is event handling
  29. OOP - What is inner classes
  30. OOP - What is anonymous inner classes
  31. OOP - What is adapter classes
  32. OOP - What is static inner classes
  33. OOP - What is local inner classes
  34. OOP - What is garbage collection
  35. OOP - What is object reference casting
  36. OOP - What is Enumeration


Comments

Post a Comment

Popular posts from this blog

IoT Project - Smart Crop Seer 1.0

Smart C rop S eer 1 .0         Team XitorS Our Team Members Kelum Perera Visura De Silva Wageesha Ishani Charitha Wickramanayake Main purpose of the project   So, the main purpose of this project is to develop an IoT  device and and mobile application which can be used by anyone who has a very little knowledge in technology to aware of soil properties, environmental properties and demand in market.     Main objectives of the project Following would be the main objectives of the project.   To indicate availability of Nitrogen, Phosphorous and Potassium in the soil (whether nutrients are low, average or high)   To indicate moisture level in soil To indicate humidity of surrounding air  To indicate temperature of surrounding air  To show a list of most suitable crops to cultivate  To identify two agricultural zones to conduct the research To identify m...

OOP -Introduction

අපි මුලින් බලමු මොකක්ද මේ Object Oriented Programming concept එක කියන්නෙ කියලා. OOP කියන concept එක බිහිවෙන්න කලින් අපි භාවිත කලේ Structured Programming කියන concept එක. නමුත්  Structured Programming concept එක භාවිත කරලා මහපරිමාණ software නිර්මාණය කරන කොට programmers ලට නොයෙකුත් ප්‍රශ්න වලට මුහුණ දීමට සිදුවුණා. ඒ කියන්නේ structured concept එකෙන්  මහපරිමාණ software develop කරනකොට එකම class එකක සියළුම codes ලියන නිසා code වල errors , bugs ආවහම errors සහිත coding lines හඳුනාගෙන ඒවා නැවත සකස් කිරීමට‍ විශාල කාලයක් වගේම විශාල    වෙහෙසක් programmer ට දරන්න සිදුවෙනවා.  මොහොතකට හිතල බලන්න යාලුවනේ අපි structured programming concept එක use කරලා Foodcity එකකට software එකක් develop කරනවා කියලා. ඒ programme එකේ code lines විශාල ප්‍රමාණයක් තියෙනවා. ඉතින් ඒ වගේ අවස්ථාවක errors ආවහම , ඒ වගේම programmer  develop කරපු software එකට අලුතින් new parts add කරන්න අවශ්‍යයි කියල අපේ client කීවහම නැවත new parts add කිරීමේදී software එක develop කිරීමේදී වැය වුන කාලය , ඒ සඳහා c...

MVC Design Pattern (Model-View-Controller)

ඉතින් යාලුවනේ මම අද ඔයාලට කියන්න යන්නෙ software industrial එකට ගොඩක් වැදගත් වෙන design pattern එකක්. ඒ තමයි MVC එහෙමත් නැත්නම් Model-View-Controller කියන design pattern එක. අපි දැන්  බලමු මොනවද මේ model , view ,controller කියන ඒවායින් කියවෙන්නේ කියලා. Model  : අපි model එකක් කියලා සාමාන්‍යයෙන් කියන්නෙ object එකකට.අපේ program එකේ   ඇතුලත වෙන ක්‍රියාවලිය අපි ඉදිරිපත් කරන්නේ model එකකින්.  View : අපි දැන් බලමු view එකක කියන්නෙ මොකක්දේ කියලා. view එක කියන්නෙ model එකෙ       තියෙන දේවල් user ට පෙන්වන්නේ එහෙමත්මේ නැත්නම් visualise කරන්නේ මේ  view එක හරහා තමයි. Controller : අපි controller කියලා කියන්නෙ model එකේ වෙන වෙනස්කම් view එකේ update   කරන්නේ ඒවගේම model එකයි view එකයි control කරන්නේ මේ controller එකෙන් තමයි. මේ design pattern එකේ මේ කොටසේ තමයි business logic එක අපි ලියන්නේ. හරියට අපේ brain එක වගේ තමයි controller එක ක්‍රියාකරන්නේ.  මේ MVC design pattern එකේ තියෙන ප්‍රධාන වාසියක් තමයි අපි program එකේ ඔක්කොම codes ටික එකම...