

Free preview of my Java course:
An interface in java is a list of variables and methods that you use to make a class by doing class x implements y.
Learn java in just 13 minutes:
An interface in java is just an outline for a class. Anything in the interfaces, like variables and methods, has to be in the class that uses it.
Java interfaces can be tricky at first… But SURELY you’ll get it 🙂 If you followed along, congrats! You learned by-doing!
I hope you enjoyed this tutorial on interfaces in java! I like to have a nice mix of java tutorials and actual projects for you all 🙂
Was this able to help you learn interfaces in java? –
Free tips and programs:
Recommended Channels to Subscribe to
Career Karma:
TheNewBoston:
~
(2nd channel)
Alex Lee
source
Please make a video about the use of interfaces when solving the inheritance problem in java. I think it's what they are used for the most.
Who else hits the like button before watching 🙂
Hi Alex, Love your clear and concise videos. Just wondering what's are the main differences between interfaces and abstract classes? When would you use one over the other? I'd love another video that would explain that more in depth. Thank you.
Bro is the variable color static or is it an instamce variable
Me: clicks first tutorial from searches
Youtuber: "Hey, Im Alex, please subscribe"
Me: "woah woah we just met bro"
Interface can not be instantiated directly but can be used as type by upcasting its subclass
Bro, this kid makes me laugh every single time
public class IWillReportThisChannel [
System.out.println(I didn't understand)
Whats the difference between using an Interface and inheriting methods from an abstract class?
Can you (perhaps in your new series) cover how to use an interface to communicate between say a fragment and the fragments listview which has a customArrayAdapter which typically hosts the OnClickEvents. New developers then get trapped not able to call methods back in the fragment
You are awesome.. keep up the good work ❤❤🔥🔥🤟🤟
It all clicked when you said an interface it more of a guideline or template. It is not necessary but more useful for setting up a new class that 'inherits' variables and needs these methods defined in its own class.
Thank you
OMG, your explanation is so much better than pretty much everything I have seen in regards to interfaces, thank you so much.
Your keyboard sounds unbelievably satisfying!!! What is it?
You just explained how to use it but not why and when to use it. I'm still confuse.
I tried to learn Java with many different videos and had hard time understanding it. You explain everything so easy! I learned so much from you. Thank you so much <3
Hi Alex! Love you videos. Could you please make a video about SUPERCLASSES and INTERFACES. Do not see any difference between them. Thank you again! 🙂
Can you override the blue attribute to your own custom color
Lee, you're amazing!! Get back on your channel RIGHT NOWW!
Hi, Could you please make a video on path and classpath?
Thank you for the great video ! 🙂 Do you have any videos on non-static vs static and public vs private?
So you cannot implement methods in interfaces but you can with attributes?
So interfaces are useful to make libraries ?
You have insightly explained Alex….I got it understood very well…nice try.
Alex thank you so much for all the wonderful videos you have helped me so much on topics that I only halfway understand. After watching your videos I always feel like a more confident beginning coder
What this guy does is unbelievable…He makes things too easy to be true
Although that's certainly a good explanation, I would have like if you also explained the reason behind interfaces. That is, why do we need interfaces when we have abstract classes?
Thank you sir. My professor was rambling for 45 minutes and couldn’t explain what you explained in 6 minutes
Can an interface be run as a separate program?
Thank you so much, Alex, you are a great person to come back to when not understanding things about coding, although you can dive deeper into these things in other videos, I am still thankful that you are here to help. I hope one day you become a well-known channel that many people come for help to.
it took me 3:49 minute to understand interface thank you.
Is there a situation where you can only use interface and not an abstract class?
Thank you Alex lee.
But i suggest you to be a lil gentle when ypu giving example.
Instead of poops and dogs. You can use some better names that suits the education system.
Thank you Alex. It was a helpful content. But, if i have two interfaces, how will i write both the interfaces in the same class?
I'm taking AP Comp Sci right now and your videos really do help. Thank you!
Huh why are 360p and 1080p available but not 720p
5 seconds into the video and it gets a like from me
Hi, interesting and understated topic. Please upload a new video explaining Interfaces and Polymorphism which is the real purpose of interfaces. e.g. instead of referencing straight to the class to be able to reference to the interface.
Please can you make a vid on functional interfaces and lambdas? Thank you so much!
thx
Do you have any videos that cover lambdas? I haven't seen any but could be missing it
You are the Alex Wassabi of Programming
I understand CSC with your videos.
Please make a video on generics also. Thanks.
What's the difference between:
WaterBottleInterface ex = new InterfaceExample();
and
InterfaceExample ex = new InterfaceExample();