62 - instanceof operator & isInstance( ) Method in Java | instanceof vs isInstance( ) (Hindi/Urdu)
Uncovering Technologies
0:00 / 0:00
62 - instanceof operator & isInstance( ) Method in Java | instanceof vs isInstance( ) (Hindi/Urdu)
2 118 просмотров · 6 лет назад
Uncovering Technologies
4,08 тыс. подписчиков
2 118 просмотров · 6 лет назад
LIKE, SHARE & SUBSCRIBE
instanceof operator & isInstance( ) Method in Java | instanceof vs isInstance( )
instanceof operator and isInstance( ) method, both are used to find out whether the given object belongs to a certain class or not.
The outcome of both of them ( instanceof and isInstance( ) ) is boolean in nature.
The main difference is that we use instanceof operator when we want to perform this conditional check at the time of the compilation process and isInstance( ) method at the time of the run-time process.
UpCasting and DownCasting video :
• 61 - UpCasting and DownCasting in Java (Hi...
Primitive Data Type TypeCasting Videos :
• 12 - Type Conversion & Casting (Hindi/Urdu)
• 14 - Signed Integer & Typecasting (1's & 2...
Codes used in this video: https://drive.google.com/open?id=1nq7...
Thanks for watching and stay tuned.
Like us on Facebook - https://goo.gl/y7oxYc
Follow us on Twitter - https://goo.gl/UKmTfn