MENU

Fun & Interesting

#67 More on Interfaces in Java

Telusko 119,168 2 years ago
Video Not Working? Fix It Now

Check out our courses: Java Full Stack and Spring AI - https://go.telusko.com/JavaSpringAI Coupon: TELUSKO10 (10% Discount) DevOps with AWS: From Basics to Mastery : https://go.telusko.com/DevOpsAWS Coupon: TELUSKO10 (10% Discount) Master Java Spring Development : https://go.telusko.com/masterjava Coupon: TELUSKO20 (20% Discount) For More Queries WhatsApp or Call on : +919008963671 website : https://courses.telusko.com/ In this lecture we will learn: - Implementation of multiple interfaces - Inheritance in between interfaces - Method calling of an interface #1 - We can have a class implementing multiple interfaces. class B implemets A,X { } (here, A and X are two different interfaces) - Implementation of all the methods that are present in those interfaces should be given in a class. - Inheritance is also valid in between interfaces. - Inheritance can be achieved in between interfaces by using the extend keyword. - Whenever you create a reference of an interface and create an object of a class, then you can only call those methods by that reference that are present in that interface of which the refernce is created. - Methods of another interface can be called by using another reference variable for that interface with the object of a class. #2 * class - class - extends class - interface - implements interface - interface - extends 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

Comment