Mastering Java and Spring Boot - Live Course : https://bit.ly/TeluskoJavaLive
For More Queries WhatsApp or Call on : +919008963671

In this lecture we will learn:
- Use of IS relationship in Java
- What is inheritance?
- Parent-child relationship in inheritance
- Need for an inheritance

#1
Use of 'is' in Java:-
- Laptop is a computer.
It means that a laptop contains all features that a computer exhibits.
- Through IS, we try to take the features of something.

#2
Inheritance:-
One class can inherit the properties and features of another class.
- Inheritance is a type of feature in Java through which we can copy properties to a class from an upper class.
- A class that inherits from another class can reuse the methods and fields of that class.
- Inheritance represents the IS-A relationship which is also known as a parent-child relationship.

#3
- In inheritance, there are two types of classes:-
1. Parent class/ Superclass/ Base class
2. Child class/ Subclass/ Derived class

Parent class: The class whose properties are inherited.
Child class: The class which inherits the properties of others.
- Child class accesses the features of a parent class.

#4
Need of an Inheritance:-
- Inheritance supports reusability. We can derive a new class from an existing class by including some features from the existing class.

Github repo : https://github.com/navinreddy20/Javacode.git

Java:- https://bit.ly/JavaUdemyTelusko
Spring:- https://bit.ly/SpringUdemyTelusko

More Learning :

Java :- https://bit.ly/3x6rr0N
Python :- https://bit.ly/3GRc7JX
Django :- https://bit.ly/3MmoJK6

JavaScript :- https://bit.ly/3tiAlHo
Node JS :- https://bit.ly/3GT4liq

Rest Api :-https://bit.ly/3MjhZwt
Servlet :- https://bit.ly/3Q7eA7k
Spring Framework :- https://bit.ly/3xi7buh
Design Patterns in Java :- https://bit.ly/3MocXiq
Docker :- https://bit.ly/3xjWzLA

Blockchain Tutorial :- https://bit.ly/3NSbOkc
Corda Tutorial:- https://bit.ly/3thbUKa
Hyperledger Fabric :- https://bit.ly/38RZCRB

NoSQL Tutorial :- https://bit.ly/3aJpRuc
Mysql Tutorial :- https://bit.ly/3thpr4L

Data Structures using Java :- https://bit.ly/3MuJa7S
Git Tutorial :- https://bit.ly/3NXyCPu

Donation:
PayPal Id : navinreddy20
https://www.telusko.com