Java Interface Tutorial

  Рет қаралды 139,851

Keep On Coding

Keep On Coding

Күн бұрын

Пікірлер: 142
@KeepOnCoding
@KeepOnCoding 4 жыл бұрын
☕Want to master Java? Get my complete Java course: bit.ly/42mQlXE
@tannerbarcelos6880
@tannerbarcelos6880 4 жыл бұрын
Amazing. Truly, I love java. Interfaces alone sell me on the language sooooo much. So damn powerful. Your videos help a lot man! 2 semesters left till I graduate from cal state east bay! Been grinding my java and python and using your leetcode videos to really help. Keep it all up, your content is very real and useful.
@KeepOnCoding
@KeepOnCoding 4 жыл бұрын
Keep it up!
@tannerbarcelos6880
@tannerbarcelos6880 3 жыл бұрын
@jaquino94 class of 2021! Done in literally 26 days!
@briza_md
@briza_md 3 жыл бұрын
@@tannerbarcelos6880 Good luck!
@pure4lyfe5
@pure4lyfe5 Жыл бұрын
@@tannerbarcelos6880 hey care to report?
@cedric182
@cedric182 Жыл бұрын
did you finish? did you persist? did you find a job??@@tannerbarcelos6880
@BN-cr3el
@BN-cr3el 4 жыл бұрын
The way you explain it is... I can’t even describe but I learn very quickly and I learn a lot in few short minutes. In class, we spent 3 hours learning about interfaces and I was still confused. Thank you 😊
@phoenix78240
@phoenix78240 Жыл бұрын
Out of all the videos I’ve been looking at on explaining interface your video is by far the easiest to understand. Thank you for that.
@burrrrrrrrrrrrrrp
@burrrrrrrrrrrrrrp 2 жыл бұрын
I been learning Java for the past year and have watched A LOT of KZbin tutorials on it. Yours are easily the best out there, straight to the point and easy to understand.
@doctorpoverty9553
@doctorpoverty9553 2 жыл бұрын
The most in-depth video. At first, it seemed complicated. But after watching a few times, I have realized that this video actually covers more than 10 credit hours worth of college classes in one 15-minute video. Excellent job man. You are a life saver
@venkateshnambi1576
@venkateshnambi1576 3 жыл бұрын
I was struggling to learn some concept's and i regret that i am so late to watch this video. Fundamentals cleared. Thanx.
@Gohel95
@Gohel95 4 жыл бұрын
this was super.... Please keep making such good content it helps too much ..... and your way of explaining is just awesome first some theory and then code.
@i.j.5172
@i.j.5172 2 жыл бұрын
this was genuinely the BEST video I have seen on interfaces. Complete explanation.. thankyou!
@matthew11092
@matthew11092 4 жыл бұрын
Learned a lot from your videos, your explanations make sense and are straight to the point
@CodeRay
@CodeRay 4 жыл бұрын
Awesome video man! Wish I knew this when I was in AP comp sci
@parthjagtap5926
@parthjagtap5926 8 ай бұрын
00:01 Interfaces in Java allow separation of class interface from its implementation. 01:37 Implementing Java Interface requires implementing all provided methods 03:27 Classes can implement multiple interfaces 05:20 Java interfaces can switch between different class implementations dynamically. 07:11 Variables can be declared in an interface. 09:11 Interfaces in Java can be extended to create sub interfaces. 11:03 Understanding default and static methods in Java interfaces 13:01 Java 9 introduces private methods within interfaces. Crafted by Merlin AI.
@JATJAT330
@JATJAT330 2 жыл бұрын
Literally the first minute of this video explained better what an interface does than the entire book I have to study from. I just didn't understand the point of them. THANK YOU!!!
@ParalyticAngel
@ParalyticAngel 2 жыл бұрын
Even me whos English isn't that well do understand it by far better than guys in my language are explaining it, by your way of explaining stuff. You are really calm and on point with your style of explaining it. Respect and thanks.^^
@leonardolima3936
@leonardolima3936 4 жыл бұрын
Great explanation! You speak english clearly, It was easy to understand
@mr.RAND5584
@mr.RAND5584 4 жыл бұрын
You speak so crystal clear. Thanks 😊
@guy8923
@guy8923 Жыл бұрын
When I need to revisit something your videos are perfect
@KRaJWanders
@KRaJWanders Жыл бұрын
One of the best explanation of interfaces. Worth every second ❤❤ Thanks @keepOnCoding
@bbb55590
@bbb55590 2 жыл бұрын
This is great quality material\, my guy. You definitely earned my sub.
@PunjabiKush
@PunjabiKush 3 жыл бұрын
Here during my Final, I just finished part 1 on abstract using comparable. was uncertain how interfaces work. part 3 is generics and I'm pretty good at it. Thanks dog you helped me pass this probably with an A :)
@KD-vg2yn
@KD-vg2yn 3 жыл бұрын
What a great tutorial. Thank you man. Also, I think it's so funny, on productive channels like this, the comment sections tend to be so nice and not toxic. But in all other comment sections on KZbin they are all toxic. I think it shows the kind the of people you attract when you are doing something great.
@vadrudnev
@vadrudnev 3 жыл бұрын
Thanks! I had troubles understanding how to use interfaces. This video saved me a lot of time.
@rubasham8241
@rubasham8241 2 жыл бұрын
your videos are like a survival kit, whenever i feel like a topic is too heavy because my professor didn't explain it well, a video of yours pops up and it never fails to give me back hope and make me understand! can't thank you enough!
@michaelantoni8323
@michaelantoni8323 2 жыл бұрын
I'm learning Java now and the way you explain it really amaze me. Thanks a lot your a big help. new subscriber here.
@muhammudamine7376
@muhammudamine7376 9 ай бұрын
Best Video at explaining Interfaces, Thanks
@ammarabdallah378
@ammarabdallah378 4 жыл бұрын
hope to see more videos man you are such a legend
@kaifahsan8459
@kaifahsan8459 4 жыл бұрын
Great video. Like how you explained a lot of key aspects of interfaces with clarity.
@socaljusticewarrior558
@socaljusticewarrior558 2 жыл бұрын
This channel is tight. Because of you and Coding with John, I've basically become a PHD in computer science.
@kiransingh8239
@kiransingh8239 2 жыл бұрын
HI Sam , too good to see u explaining the clear concept
@uralslife
@uralslife 9 ай бұрын
That's awesome job, man. I'm declaring that from Russia, we don't have such a clear interface explanation even in paid cources
@fastcomputer5927
@fastcomputer5927 3 жыл бұрын
Nice keyboard sound :)
@christo4520
@christo4520 4 ай бұрын
Dude you have a good content style
@williaminfiesto2529
@williaminfiesto2529 3 жыл бұрын
Thanks, this is a very clear explanation and it helped me understand interfaces a lot more!
@marouaneltaifi2926
@marouaneltaifi2926 3 жыл бұрын
great work man loved the video keep it up !
@Gohel95
@Gohel95 4 жыл бұрын
can you please make the next video on the collection ... because I have seen many tutorials but I think only you can clear concepts of collection.
@ahmedababneh7089
@ahmedababneh7089 4 жыл бұрын
Please can you make a video that talk about the first step should I take to become a java developer, what should I learn and how many month it will take. Sorry for my English.
@maddy3656
@maddy3656 4 жыл бұрын
Thank you! I adore your videos. 🥰
@khushiimalik
@khushiimalik 4 жыл бұрын
Very well structured and easy to follow. I was having trouble with interfaces. Thanks!
@kamogelomafuna8485
@kamogelomafuna8485 3 жыл бұрын
Wow I never understood interface until I saw this tutorial and might i say it really came handy ass am writing a text this coming week
@jamaka_me_code796
@jamaka_me_code796 2 жыл бұрын
Wishing you had a Spring Boot tutorial 😅 appreciate your content for sure
@sethupathys641
@sethupathys641 4 ай бұрын
Thank you. Can't believe how much youtube teaches me
@msh104utube
@msh104utube 4 жыл бұрын
When would one choose to use Interfaces over. Abstract classes, and vice versa?
@aureliuse3469
@aureliuse3469 4 жыл бұрын
I think abstract class is use, if you want to make that class contain abstract method and method with implementation, but interface use only to share abstract method without implementation to other class only and share final static variable. Beside that the different is in a class we can extend 1 abstract class only, but otherwise in a class we can implement many interface. So if you want to make 2 superclass with 1 subclass use interface, and if you want to make 1superclass and 2 subclass use abstract class, i think that is the analogy of the hierarchy. CMIIW iam also learning java interface tq
@martinrugadya4067
@martinrugadya4067 4 жыл бұрын
This is super helpful, precise and clear
@DespinaDimitriadou
@DespinaDimitriadou 3 жыл бұрын
Great video! Can you do one for abstract classes as well?
@yourdailyfails1
@yourdailyfails1 3 жыл бұрын
we all know what " more stuff " he bought on Saturday night , with private method
@obiudeze809
@obiudeze809 10 ай бұрын
@keepOnCoding Great Vid! It seems the use of inheritance in sub-classes and the use of interface implementation in classes are kind of similar. Are there any situations where you would use one or the other?
@PIRAKAS666
@PIRAKAS666 2 жыл бұрын
Very nice. Appreciate the effort. Also so much better than that over the surface trash Lee is uploading.
@captainsloth5895
@captainsloth5895 2 жыл бұрын
Great video, much appreciated!
@matttwist9480
@matttwist9480 2 жыл бұрын
Awesome video, thanks for making this.
@francescocassini7267
@francescocassini7267 4 жыл бұрын
Great video! It was very clear!
@brkeudunman
@brkeudunman 3 жыл бұрын
Great Video to improve CS Skills
@swapnaligouda4600
@swapnaligouda4600 4 жыл бұрын
you are so cool, man! please make videos on the complete java collection framework and data structures and algorithms.
@rezafadillah5129
@rezafadillah5129 2 жыл бұрын
Thank you broo, your explanation very detail
@georgesavvatis1937
@georgesavvatis1937 2 жыл бұрын
This was very helpful... thank you!
@alimurtaza8275
@alimurtaza8275 3 жыл бұрын
Thank you very much. It was extremely helpful. Good luck.
@yacoub3736
@yacoub3736 4 жыл бұрын
Thanks, Brother!!
@samueletamburrini9420
@samueletamburrini9420 4 жыл бұрын
Man really awesome, but im struggling in 5:14 when you talking about creating variables istantiating interfaces. When you reference the interface istantiated to another object (in this case ob=byTwos) you are modifying also the other class (byTwos) or just the interface istantiated? Dont know if I made myself clear.
@Duderantula
@Duderantula 2 жыл бұрын
Thank you, great explanation.
@puppyspit8725
@puppyspit8725 3 жыл бұрын
That was very receivable. Thanks for the info
@escrimo23
@escrimo23 4 жыл бұрын
Great video! This is a really side question, but what are your thoughts on developing mobile apps using Flutter(Dart) or Android Studio (Java)
@kianreddy1295
@kianreddy1295 3 жыл бұрын
amazing content brother
@maxd7228
@maxd7228 4 жыл бұрын
Have you thought about making a Java course? Excellent explanation.
@facundomartinez615
@facundomartinez615 3 жыл бұрын
Great explanation!!
@Nxtfbrdf
@Nxtfbrdf 9 ай бұрын
Good teaching skills ❤
@sammeester3514
@sammeester3514 2 жыл бұрын
Great video, thanks!
@everiguado5272
@everiguado5272 3 жыл бұрын
Amazing, i'm mexican it's easy to understand you
@AnandKumar-no2ob
@AnandKumar-no2ob 3 жыл бұрын
Amazing Man!!
@eliy5550
@eliy5550 Жыл бұрын
GREAT VID
@morghayn
@morghayn 4 жыл бұрын
Great tutorial!
@boblewis1287
@boblewis1287 3 жыл бұрын
Can you do a video on intellij keyboard combo s especially the useful ones? Ty dawg
@timjoyalle318
@timjoyalle318 3 жыл бұрын
I like the idea of "real-world examples". In my internship things were much easier to accomplish because the goals were clear. College doesn't do that. Not in my experience.
@arnabmukherjee5840
@arnabmukherjee5840 4 жыл бұрын
Bro awesome , please cover all basics by weekly videos 😎
@daniellaerachannel
@daniellaerachannel 4 жыл бұрын
sorry the off topic but what audio interface do you use with your bluebird mic? in your amazon gear is not present; thanks great video btw
@KeepOnCoding
@KeepOnCoding 4 жыл бұрын
GoXLR Mini
@adipurnomo5683
@adipurnomo5683 3 жыл бұрын
Awesome explained ☺️
@zhihaohuang273
@zhihaohuang273 4 жыл бұрын
Could you explain how the method "public void mousePressed(MouseEvent e)" was written? Is there a way to add functionalities to a method in an interface? Thank you!
@bonicapatterson6943
@bonicapatterson6943 3 жыл бұрын
You are everything!!!!!!!!!!!! Thank you!!!!!!!
@antonignatenko7776
@antonignatenko7776 2 жыл бұрын
weirdly i tried to go along the video and do the same in Intelj Idea i made sure everything was the same even names of the class and interfaces, but i got errors in places where there werent in the video , like overrriding printStuff method , it highlights the parameters like there's a mistake , what could be the issue?
@yasminenejjar6351
@yasminenejjar6351 Жыл бұрын
Thank youuu so much !
@taurohkea2169
@taurohkea2169 2 жыл бұрын
wow i feel enlightened
@saxontse
@saxontse 3 жыл бұрын
thank you for video first, but you just mention about how to use interface. I am confusing of why and when to use interface, it is so hard to find useful material that can describe deeply on that
@davidorevic6651
@davidorevic6651 Жыл бұрын
Nice job!
@shx717
@shx717 4 жыл бұрын
How about interfaces in Java 9 and how are they different from abstract classes in Java 9 since you can define functions too.
@sachinsharma1230
@sachinsharma1230 3 жыл бұрын
Everytime when i see this "default" method i fell like what is the "suger coating" done on it. I never found any answer on it. You know what i men, the default access / non-access modifiers
@populouslove1425
@populouslove1425 3 жыл бұрын
Wonderful, thank you.
@adipurnomo5683
@adipurnomo5683 3 жыл бұрын
Why don't you using composition object instead of interface
@murcielagoghost
@murcielagoghost 3 жыл бұрын
Thank you for this very useful tutorial about interfaces, I'm getting started with it and now default methods in interfaces classes are clear to me.
@patriciocastillo2772
@patriciocastillo2772 3 жыл бұрын
Great content
@sarthakdalabehera3664
@sarthakdalabehera3664 4 жыл бұрын
Bro make more videos in Java. Your videos are quite interesting to watch :-)
@FarisSkt
@FarisSkt 4 жыл бұрын
commenting to help the algorithm
@maniys
@maniys 3 жыл бұрын
Awesome!
@evelyndavies1503
@evelyndavies1503 4 жыл бұрын
Hi can u be a software engineer and a programmer at the same time, I need answers please.🙏🙏
@kaifahsan8459
@kaifahsan8459 4 жыл бұрын
They're the same thing. There are very few Software Engineer roles if any that does not require programming.
@syedrizvi2687
@syedrizvi2687 3 жыл бұрын
Thank you!
@numero8035
@numero8035 3 жыл бұрын
Great Video
@boblewis1287
@boblewis1287 3 жыл бұрын
I gotta learn your key combo's
@iRoseRiyadh
@iRoseRiyadh 4 жыл бұрын
can you make a video about AOP in java?
@ivanjato4315
@ivanjato4315 Жыл бұрын
For the first part, the 'Creating an interface' part, you don't really need an interface for what you do... actually you are not even calling the interface at all... You are creating objects of ByTwos or ByThrees classes and calling the getNext method. I"m not sure what are you trying to explain here :(
@CarlosVasquez1
@CarlosVasquez1 4 жыл бұрын
OK. but it seems like your conflating class and interface. In the portion (around 3:25) where you are explaining implementing interfaces and extending classes you are saying "implement class" and "extend class". Is this the correct wording? Is there a difference between an interface and a class? More importantly, are there different rules when implementing an interface vs implementing a class? Can be a bit confusing if not used to the terminology and rules yet. tx, -C
@AlienAndrew51
@AlienAndrew51 3 жыл бұрын
Are Java repositories the same as interfaces?
@stevenmatthewrevillas7794
@stevenmatthewrevillas7794 3 жыл бұрын
why didn't you used override in 4:29
@MedalMetaller
@MedalMetaller 3 жыл бұрын
Dude its saturday night right now^^ How did you know?
@lucasf.v.n.4197
@lucasf.v.n.4197 3 жыл бұрын
omg it goes for me as well : )
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
Java Generics Tutorial
12:23
Keep On Coding
Рет қаралды 184 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 168 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
Java interface 🦅
7:51
Bro Code
Рет қаралды 210 М.
Object Oriented Programming - The Four Pillars of OOP
11:23
Keep On Coding
Рет қаралды 351 М.
Java Exception Handling Tutorial
11:39
Keep On Coding
Рет қаралды 82 М.
Java Interface Explained (incl Java 8 Functional Interfaces)
11:18
Jack Hodkinson
Рет қаралды 9 М.
Java Classes & Objects
11:36
Keep On Coding
Рет қаралды 362 М.
Learn How to Use Abstract Classes
17:28
Amigoscode
Рет қаралды 68 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 968 М.
Array List vs Linked List | Which one should you use??
7:57
Keep On Coding
Рет қаралды 58 М.
Lambda Expressions in Java - Full Simple Tutorial
13:05
Coding with John
Рет қаралды 772 М.
Abstract Class In Java Tutorial #79
8:55
Alex Lee
Рет қаралды 549 М.
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 168 МЛН