YUNOVA · JavaScript · Module 13: Classes Aur Modules

JavaScript class mein inheritance kaise karein

Notes for offline study · 30 November 2026

JavaScript class mein inheritance kaise karein

Key points

  • extends से एक class दूसरी class की properties और methods ले लेती है।
  • child class के constructor में this से पहले super() call करना ज़रूरी है।
  • child उसी नाम का method फिर लिखकर parent वाला बदल सकती है; इसे override कहते हैं।

Free on YUNOVA · yunova.in · Sign in to add your own lesson notes to this sheet.