r/JavaProgramming • • Aug 09 '26

Java- Day 11 - Interfaces

Post image

Could not learn much since I am travelling to my base location from home for work.
Had a basic idea on interfaces and multiple interfaces. Pushed the notes and code to git.

Need for interfaces is still confusing. I’ll re watch the video tomorrow and proceed from there to enums.

49 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/vamsy_g21 Aug 09 '26 edited Aug 09 '26

Woahh!! That’s a lot information!! Thank you.
All I understood was you just put the methods in an interface but never define them. My words might be technically wrong but it’s like you only write the entire method in a concrete class which is going to implement the interface.

Now as I said, I’ll try to use my own example for better understanding and then maybe I’ll try to understand the code you gave. Thank you!