Java interface 🦅

Ғылым және технология

Java interface interfaces tutorial explained example
#Java #interface #tutorial

Пікірлер: 237

  • @BroCodez
    @BroCodez3 жыл бұрын

    //********************************************** public class Main { public static void main(String[] args) { Fish fish = new Fish(); fish.hunt(); fish.flee(); } } //********************************************** public interface Prey { void flee(); } //********************************************** public interface Predator { void hunt(); } //********************************************** public class Rabbit implements Prey{ @Override public void flee() { System.out.println("*The rabbit is fleeing*"); } } //********************************************** public class Hawk implements Predator{ @Override public void hunt() { System.out.println("*The hawk is hunting*"); } } //********************************************** public class Fish implements Prey,Predator{ @Override public void hunt() { System.out.println("*The fish is hunting*"); } @Override public void flee() { System.out.println("*The fish is fleeing*"); } } //**********************************************

  • @janmail8018
    @janmail80183 жыл бұрын

    Every time you have not understood something at university, our bro is there for us!

  • @agrajyadav2951

    @agrajyadav2951

    Жыл бұрын

    u study this in uni, this is taught in high school here

  • @kuber5241

    @kuber5241

    Жыл бұрын

    ​@@agrajyadav2951damn bro, but atleast your getting early exposure in this programing language

  • @bunjrsima4151

    @bunjrsima4151

    Жыл бұрын

    Indeed!

  • @Gupatik

    @Gupatik

    5 ай бұрын

    @@agrajyadav2951in high school I studied c language and c++ and now this at uni. but where are you living tho??

  • @Sofia-rg3er

    @Sofia-rg3er

    4 ай бұрын

    agree

  • @osiaosienka7183
    @osiaosienka71833 жыл бұрын

    i spent last few hours trying to understand what interface is an it took you less than 8 mins to explain it perfectly.. you're awesome

  • @youvegotmail9385
    @youvegotmail9385 Жыл бұрын

    I absolutely love this guy's teaching style. I especially love that he has pseudo-code up so we know exactly what we are working with.

  • @hgatl
    @hgatl3 жыл бұрын

    It is really understandable and he is telling clearly ,thank you bro

  • @thegreenroom5820
    @thegreenroom5820 Жыл бұрын

    Nice, understanding the relationship between predator and prey brought another layer of clarity. I have been existing without interfaces.

  • @Iwearcute
    @Iwearcute6 ай бұрын

    Very thorough and professional! This guy created the classes and interfaces thren wrote the code right there, whereass our Uni professor copies the code from existing projects and files and pastes it without going through all of the steps with explainations.

  • @zc7504
    @zc75043 жыл бұрын

    this channel is so underrated

  • @faris.m17
    @faris.m172 жыл бұрын

    For anyone without a Java IDE, to create a new interface, just make a new java file and put 'public interface ' and its the same thing.

  • @Reymax164

    @Reymax164

    4 ай бұрын

    Works even in the same java file… without the "public" …because you do that so that other .java files can access it.

  • @peiko9767
    @peiko97672 жыл бұрын

    This is really helpful , thank you for helping me to understand JAVA better ^^ Keep up the great work!!

  • @bratan_rust
    @bratan_rust2 жыл бұрын

    I am from Germany but it is the first clear english description which I understand and it is better as the other german description about Interfaces .. thumbs up for you and I will check your other videos, if I will learn more about Java .. thank you

  • @ramziosta
    @ramziosta3 жыл бұрын

    Bro, you got the best tutorials! hopefully to see an AWS tutorial

  • @Garrison86
    @Garrison862 жыл бұрын

    Thanks for the explanation 👍super easy to understand

  • @hesham4744
    @hesham47442 жыл бұрын

    i love the way you simplify subjects ,keep it up bro

  • @abdulsamadh6318
    @abdulsamadh6318 Жыл бұрын

    Lovely explanation, straight to the point!

  • @Andboldquates
    @Andboldquates2 жыл бұрын

    simple, clean, understandable, thanks thumbs up

  • @omardumet120
    @omardumet1203 жыл бұрын

    THE BEST IN KZread

  • @BroCodez

    @BroCodez

    3 жыл бұрын

    thanks Omar! I'll try my best to have this channel live up to that title

  • @kippenvogelchen9717
    @kippenvogelchen97173 жыл бұрын

    Thanks! Very good explained!

  • @alirezatahmasebi2920
    @alirezatahmasebi2920 Жыл бұрын

    Bro! That’s amazing! Keep it up

  • @nahimgood1833
    @nahimgood18338 ай бұрын

    Big thanks, teacher took 2 hours to try to explain this but you made it understandable.

  • @anmjubaer
    @anmjubaer Жыл бұрын

    Wow. Easy to follow and understandable. Thanks.

  • @chilledxaura
    @chilledxaura5 ай бұрын

    So much simpler to understand than whatever I was learning. And I can already see how this is useful in more advanced applications

  • @evryon1810
    @evryon18102 жыл бұрын

    This is AWESOME, ty youre literally teaching me everything

  • @PhillyGodschild
    @PhillyGodschild7 ай бұрын

    Thanks, for this video it has helped me to understand more about interfaces and also learn about what I missed in class today 😊🥰

  • @alexshepel5599
    @alexshepel55993 жыл бұрын

    Awesome, bro!

  • @jilllin9776
    @jilllin9776 Жыл бұрын

    Every time when I am stuck in JAVA, Bro code always saves me from there. Thank you, Bro!!

  • @user-do1rw6hx4j
    @user-do1rw6hx4j10 ай бұрын

    Thank you for your clear explaination!

  • @amircc7297
    @amircc72972 жыл бұрын

    Very informative, thanks.

  • @cdjosh3568
    @cdjosh35683 жыл бұрын

    Good Vid Bro, I have a question. What would you recommend I do so that I really internalize all these vids and don't forget the material I've learned? Also my opinion: I fee like the interface is only useful if you need to inherit multiple things.

  • @BroCodez

    @BroCodez

    3 жыл бұрын

    good question! Try and code something you might find useful for yourself to reinforce the concepts. For example, I play a lot of D&D so I have dice roller programs, character creators, and map builders that I make for practice

  • @kim1174
    @kim11743 ай бұрын

    That was Awesome lecture! thx Bro!😄

  • @victorejiofor8115
    @victorejiofor81152 жыл бұрын

    Thanks so much, Bro Code you made this easy to understand. Now I understand what interfaces are.

  • @anjamisimovic9214
    @anjamisimovic92142 жыл бұрын

    this is so loud and clear! tnx

  • @anupamsinha7430
    @anupamsinha74302 жыл бұрын

    Bro Code, thank you so much for this. When possible, can you make a 'Design Pattern' playlist please?

  • @pavelkvasnicka6856
    @pavelkvasnicka6856 Жыл бұрын

    This is the best Java tutorial for beginners, so you can learn Java and English in one hit. Please keep going! I vote for Java advance tutorial. Thanks a lot Bro

  • @danny.3036
    @danny.30363 жыл бұрын

    Thanks, Bro! ☕ You're awesome!

  • @abdimegersa7780
    @abdimegersa77802 жыл бұрын

    You're the best

  • @user-ie6kl8gl6j
    @user-ie6kl8gl6j5 ай бұрын

    Bro u r sooo good!

  • @leruleru8723
    @leruleru87232 жыл бұрын

    you're a LIFESAVER bro

  • @albertoam2
    @albertoam2 Жыл бұрын

    Thanks, I always look at your videos, they are very easy to understand

  • @juanestebanparraparra6302
    @juanestebanparraparra63022 жыл бұрын

    Thanks for your tutorials bro!

  • @yevgenomelchenko732
    @yevgenomelchenko732 Жыл бұрын

    Thanks, very helpfull!

  • @augustinejoseph4302
    @augustinejoseph4302 Жыл бұрын

    Clear and crisp👍👍👍

  • @leonelenriquecontreras7860
    @leonelenriquecontreras7860 Жыл бұрын

    Great video! thanks for the help bro! keep up the good work :)

  • @rachpalsingh3498
    @rachpalsingh34982 жыл бұрын

    crisp and clear. Thanks.

  • @immortlreacts1740
    @immortlreacts1740 Жыл бұрын

    best explanation i've heard... saved me

  • @hytalefanboi7471
    @hytalefanboi74712 жыл бұрын

    Good video

  • @aliak2987
    @aliak29872 жыл бұрын

    You are amazing bro ❤

  • @damithajayawardana7568
    @damithajayawardana75682 жыл бұрын

    Yeah bro that's awesome thanks

  • @helenaa1304
    @helenaa13045 ай бұрын

    been using your videos to review for my midterm, you've been a big help this semester. thanks, bro :))

  • @r4nd0m25
    @r4nd0m2512 күн бұрын

    you are awesome dude

  • @unalysuf
    @unalysuf Жыл бұрын

    Thank you so much for your effort

  • @user-eo6sv1gs7p
    @user-eo6sv1gs7p2 ай бұрын

    Ilove Your Tutorial

  • @nikitamarkovski7121
    @nikitamarkovski71212 жыл бұрын

    Thanks, much clearer than on previous guy's channel lol

  • @romandevera7871
    @romandevera78712 жыл бұрын

    Good job Bro!

  • @shouvikxiv
    @shouvikxiv6 ай бұрын

    thanks man.. super helpful

  • @minhtetpaing1695
    @minhtetpaing16953 жыл бұрын

    Thank you so much sir.

  • @alcachofa2394
    @alcachofa23942 ай бұрын

    thanks for the explanation bro

  • @wallstreetbets7741
    @wallstreetbets77412 жыл бұрын

    Cool man but I need rewatch it later

  • @reparatiicalculatoare502
    @reparatiicalculatoare5022 жыл бұрын

    Genial!

  • @NeuronCode
    @NeuronCode Жыл бұрын

    I'm from Brazil, thanks for the video bro! ❤

  • @user-kn1mo7ls7r
    @user-kn1mo7ls7r2 жыл бұрын

    תודה לך יהודי יקר וכשר

  • @noahgsolomon
    @noahgsolomon2 жыл бұрын

    Common bro W

  • @user-vq1yi9lj3f
    @user-vq1yi9lj3f7 ай бұрын

    You is the real bro❤❤

  • @noelchacko
    @noelchacko3 жыл бұрын

    Beautiful video

  • @astamoon1505
    @astamoon1505 Жыл бұрын

    Love you bro

  • @abdialemu8391
    @abdialemu8391 Жыл бұрын

    great!!!

  • @user-rg6gy8yl2o
    @user-rg6gy8yl2oАй бұрын

    Thank you really helped

  • @user-kn8jr5uy9u
    @user-kn8jr5uy9u9 ай бұрын

    Here, I become a Fellow Bro!

  • @Bro-ci9lq
    @Bro-ci9lq2 жыл бұрын

    ay yo thata was much help bro thank u :D

  • @RSKEDITS
    @RSKEDITS Жыл бұрын

    great explanation

  • @user-zq6yx7of5f
    @user-zq6yx7of5f Жыл бұрын

    Thank you very much !

  • @apex-lazer
    @apex-lazer Жыл бұрын

    brooooo! Thank youuu!! soo much. 👊

  • @xXMaDGaMeR
    @xXMaDGaMeR2 жыл бұрын

    love you bro

  • @_Anna_Nass_
    @_Anna_Nass_2 жыл бұрын

    I’ve officially nominated you as my Java professor

  • @darkfury3032
    @darkfury30323 жыл бұрын

    most underrated tutorial

  • @manchester250
    @manchester2504 ай бұрын

    Thank you!

  • @laylachisom8996
    @laylachisom8996 Жыл бұрын

    Thanks for this gem

  • @rohanl.r7673
    @rohanl.r76737 ай бұрын

    You are the universal java bro

  • @rinadem5219
    @rinadem5219 Жыл бұрын

    super nice thanks

  • @rblahunka
    @rblahunka Жыл бұрын

    Thank you, thank you, thank you!!

  • @augischadiegils.5109
    @augischadiegils.51093 жыл бұрын

    Thanksss bro!!

  • @TheEvertonDias
    @TheEvertonDias Жыл бұрын

    Thanks, Bro!

  • @emilakhmedov2553
    @emilakhmedov25532 жыл бұрын

    East or West Bro is the best!

  • @leilakardan5503
    @leilakardan5503 Жыл бұрын

    Tanks it was perfect

  • @cherryb9128
    @cherryb9128 Жыл бұрын

    thank you so much bro!!!

  • @sharalnaja9437
    @sharalnaja94373 жыл бұрын

    please keep up the good work i literally straight coming to ur videos for my IT education next time, could u do more of a project tutorial, maybe making a simple game something? that would be great also thank u very much!

  • @BroCodez

    @BroCodez

    3 жыл бұрын

    thanks Shar! I have a few games near the end of the full play list if you're interested: kzread.info/dash/bejne/c2eep5KAeNO4mdY.html

  • @leticiapaes3745
    @leticiapaes374511 ай бұрын

    loved it

  • @IDK-kv8ob
    @IDK-kv8ob10 ай бұрын

    Bro these videos have helped me immensely. This sh!t is so overwhelming.

  • @pa-305
    @pa-3053 жыл бұрын

    best brooo

  • @ucquangle7496
    @ucquangle7496 Жыл бұрын

    good!

  • @climborre7216
    @climborre72162 жыл бұрын

    realy good video thanks

  • @huuloc8719
    @huuloc87192 жыл бұрын

    Nice.

  • @lucnahounou
    @lucnahounou10 ай бұрын

    Thanks !

  • @mohamedelfadli3125
    @mohamedelfadli3125 Жыл бұрын

    Totaly understood.

  • @jcs0984
    @jcs09843 ай бұрын

    I'm literally in a Java 2 class and they explained interfaces like **** and you just explained it so easy, idk wtf I go to class for

  • @arthur_p_dent4282
    @arthur_p_dent42822 жыл бұрын

    Taking Tim Buchalka’s Udemy course. And as much as I am loving it, if there’s ever a time I need something clarified, my bro’s always got my back.

  • @prxnv

    @prxnv

    Жыл бұрын

    yeah tim got lazy section 10 to 12 it seems, didnt rly explain stuff that well. other than that, excellent course

  • @lorebas12
    @lorebas129 ай бұрын

    love u;

  • @kemann3815
    @kemann38152 жыл бұрын

    Big thanks ❤

  • @rewrose2838
    @rewrose28383 жыл бұрын

    Bro I gotta ask something, are comparable interfaces necessary? (can we not just use a switch case?)

  • @meera.9404
    @meera.9404 Жыл бұрын

    Thankyou !

Келесі