No video

#75 Types of Interface in Java

  Рет қаралды 66,340

Telusko

Telusko

Күн бұрын

Check out our courses:
Enterprise Java Spring Microservices: go.telusko.com...
Coupon: TELUSKO10 (10% Discount)
Master Java Spring Development : go.telusko.com...
Coupon: TELUSKO20 (20% Discount)
For More Queries WhatsApp or Call on : +919008963671
Udemy Courses:
Spring: go.telusko.com...
Java:- go.telusko.com...
Java Spring:- go.telusko.com...
Java For Programmers:- go.telusko.com...
Python : go.telusko.com...
Git : go.telusko.com...
Docker : go.telusko.com...
website : courses.telusk...
In this lecture we are discussing types of interface:
#1
types of interface
1) Normal interface
2)functional interface /SAM
3)Marker interface
#2
i)Normal interface
Normal interface contains two or more abstract method.
It can have any number of static and default methods and also even public methods of Object classes.
you can declare variable which are public static final by deault
ii)Functional Interface:
Functional Interface is an interface that has only pure one abstract method.
It can have any number of static and default methods and also even public methods of Object classes
e.g Runnable interface : It contains only run() method
iii)
Marker Interface:
An interface that does not contain any methods, fields, Abstract Methods, and any Constants is Called a Marker interface.
Also, if an interface is empty, then it is known as Marker Interface.
The Serializable and the Cloneable interfaces are examples of Marker interfaces.
Github repo : github.com/nav...
Java:- bit.ly/JavaUde...
Spring:- bit.ly/SpringU...
More Learning :
Java :- bit.ly/3x6rr0N
Python :- bit.ly/3GRc7JX
Django :- bit.ly/3MmoJK6
JavaScript :- bit.ly/3tiAlHo
Node JS :- bit.ly/3GT4liq
Rest Api :-bit.ly/3MjhZwt
Servlet :- bit.ly/3Q7eA7k
Spring Framework :- bit.ly/3xi7buh
Design Patterns in Java :- bit.ly/3MocXiq
Docker :- bit.ly/3xjWzLA
Blockchain Tutorial :- bit.ly/3NSbOkc
Corda Tutorial:- bit.ly/3thbUKa
Hyperledger Fabric :- bit.ly/38RZCRB
NoSQL Tutorial :- bit.ly/3aJpRuc
Mysql Tutorial :- bit.ly/3thpr4L
Data Structures using Java :- bit.ly/3MuJa7S
Git Tutorial :- bit.ly/3NXyCPu
Donation:
PayPal Id : navinreddy20
www.telusko.com

Пікірлер: 14
@zr0724
@zr0724 Жыл бұрын
thank you these short lessons are fun and less frustrating.
@revankumar984
@revankumar984 Жыл бұрын
As always, great explanation, thank you!
@burakkizilkaya99
@burakkizilkaya99 Жыл бұрын
thank you for explanation. best teacher so far
@shraddhapawar5674
@shraddhapawar5674 Жыл бұрын
Best tutorial
@adityakumar2288
@adityakumar2288 Жыл бұрын
Question: Java 8 allows default and static methods in the interface. Can we use that in Functional Interface? If yes what is the real-time use case?
@qkcb
@qkcb Жыл бұрын
You can take a look at the Java Comparator interface
@anisha7909
@anisha7909 Жыл бұрын
No,I don't think so. It should be either abstract or static.Since all methods under interface are abstract.
@mesmerizeart663
@mesmerizeart663 8 ай бұрын
​@@anisha7909dont say java 8 it's it's 1.8 after sun micro system hand over java to oracle corporation it's name change floating like criteria to 1.8 to only 9,10,11----21.According your question after 1.7v of java you can declare default method and static method inside inter face.
@anisha7909
@anisha7909 8 ай бұрын
Thank you for the information@@mesmerizeart663
@maleeshasandakalum6213
@maleeshasandakalum6213 Жыл бұрын
Fantastic sir❤❤
@mesmerizeart663
@mesmerizeart663 8 ай бұрын
Memories theory you can't get a job in industry . I also known the each and every part of java concept theoretically with real world example and every concept related program but when I start coding logic not come to my mind.
@MELIS_I
@MELIS_I Ай бұрын
So practice on coding bro 😅
@harshitismm
@harshitismm 10 ай бұрын
Where is the next video?
@rwordspecialist6734
@rwordspecialist6734 25 күн бұрын
Khaa gye Navin sir
#76  What is Exception in Java
5:19
Telusko
Рет қаралды 73 М.
Functional Interface | Lambda Expression in Java
13:56
Telusko
Рет қаралды 146 М.
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 3 МЛН
هذه الحلوى قد تقتلني 😱🍬
00:22
Cool Tool SHORTS Arabic
Рет қаралды 54 МЛН
ISSEI & yellow girl 💛
00:33
ISSEI / いっせい
Рет қаралды 25 МЛН
Understand Clean Architecture in 7 Minutes
7:02
Amichai Mantinband
Рет қаралды 98 М.
What is JSON ?
11:56
Telusko
Рет қаралды 1,1 МЛН
Master Golang with Interfaces
21:54
Kantan Coding
Рет қаралды 11 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 733 М.
Why use Type and not Interface in TypeScript
14:12
ByteGrad
Рет қаралды 202 М.
Java Interface Tutorial
14:49
Keep On Coding
Рет қаралды 133 М.
Dad Makes Daughter Clean Up Spilled Chips #shorts
00:16
Fabiosa Stories
Рет қаралды 3 МЛН