Java Tutorial - 10. Inheritance

preview_player
Показать описание
In this video, had covered about Inheritance in Java. Explores questions like, What is inheritance in Java? Why do we need inheritance? What is IS-A relationship in Java? What are the advantages and disadvantages of inheritance? What are the types of inheritance in Java? and many others. This video is part of "Java Tutorial" series.

Answers of Skill Check Questions:
1. b
2. false
3. a & d
4. c
5. e (e – Compilation fails is correct. Reason: The implied super() call in "SampleB’s" constructor cannot be satisfied because there isn’t a default constructor in "SampleA" class. A default constructor (that is no-argument constructor) is generated by the compiler only if the class has no constructor defined explicitly.)

Chapters:
0:00 Introduction
0:43 Inheritance
1:21 Why do we need inheritance?
2:42 Terminologies
3:13 IS-A relation
4:04 Types of inheritance
5:32 Advantages and disadvantages
6:38 Example
16:18 Quick two-minute summary
18:17 Skill Check
19:19 Conclusion

________________________

Affiliate Links:
Рекомендации по теме
welcome to shbcf.ru