Java abstraction 👻

Sdílet
Vložit
  • čas přidán 30. 07. 2024
  • Java abstract class method tutorial explained
    #Java #abstract #tutorial
  • Věda a technologie

Komentáře • 195

  • @BroCodez
    @BroCodez  Před 3 lety +89

    //******************************************
    public class Main {
    public static void main(String[] args) {

    // abstract = abstract classes cannot be instantiated, but they can have a subclass
    // abstract methods are declared without an implementation

    //Vehicle vehicle = new Vehicle();
    Car car = new Car();

    car.go();
    }
    }
    //******************************************
    public abstract class Vehicle {

    abstract void go();
    }
    //******************************************
    public class Car extends Vehicle{
    @Override
    void go() {
    System.out.println("The driver is driving the car");

    }
    }
    //******************************************

  • @RoxioCZE
    @RoxioCZE Před 3 lety +85

    such a godlike explanation what the heck

  • @SinghB4
    @SinghB4 Před rokem +15

    Missed classes because I was sick and your videos helped me so much in so little time. The best 🙌🏼

  • @juvenalbaera2641
    @juvenalbaera2641 Před 2 lety +42

    I don't understand English a lot, but with this guy, I'm understanding 90%.
    Muito obrigado ✌️
    From Mozambique🇲🇿

    • @shalomerror6236
      @shalomerror6236 Před 2 lety

      Hey, Juvenal! How is your Java-learning going on?

    • @juvenalbaera2641
      @juvenalbaera2641 Před 2 lety

      @@shalomerror6236 it's going well

    • @hero_bsb6314
      @hero_bsb6314 Před rokem

      méquié Juvenal ainda fazes Java?

    • @juvenalbaera2641
      @juvenalbaera2641 Před rokem

      @@hero_bsb6314 parei há bom tempo.

    • @ericbiscayne6722
      @ericbiscayne6722 Před rokem

      Hi, do what I do. Goto settings and select playback speed. I lowered it to 70%,S, that way I can follow what he is saying one way or another. good luck

  • @the_yb7
    @the_yb7 Před rokem +1

    This my 6th/7th video in this channel, Man!!!! I got to say this, yo explanations are spot on and explaining in a logical way make really sense on each of the topics. Good luck and keep doing

  • @ericbiscayne6722
    @ericbiscayne6722 Před rokem +7

    Bro; you have no idea how much you've helped me so far to learn Java. Any doubts I come here, looking for an example that you have,no doubt thank you, sincerely. - Never thought a bro' would save my ass this way. Love you and admire you.

  • @thegreenroom5820
    @thegreenroom5820 Před rokem +9

    WTH... I have read full chapters on this topic and didn't come away with this clarity. You have earned a subscriber.

  • @laurahanna5228
    @laurahanna5228 Před 5 měsíci +1

    Honestly, your videos are saving me this semester. You explain it better than my professor, thank you for making content like this.

  • @donuteater7774
    @donuteater7774 Před 2 měsíci +1

    I love you. Someone who can actually explain things!!!

  • @pavelkvasnicka6856
    @pavelkvasnicka6856 Před rokem +1

    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

  • @a2011q
    @a2011q Před 2 lety +3

    thank you bro, I am using your videos to learn java, very helpfull to me, good luck, keep up the good work !!!

  • @funkyliani
    @funkyliani Před 11 měsíci +4

    I started learning Java through an online course, which is terrible at explaining things, leaving me confused lot of the time. Then comes BRO, who explains everything so simply and elegantly that I have no problems understanding it! Thank you BRO!

  • @mohammadreza1414
    @mohammadreza1414 Před 19 dny

    Your videos gives everyone a very clean start. This is great because we can easily build on that using other resources.

  • @Armadder
    @Armadder Před 8 měsíci

    Thank you for this video, I'm just about done reading the pdf I have in my coding class because it just goes on; I've never been huge on reading instructions. This gets straight to the point and makes the purpose of it obvious.

  • @GeoffreyofCastille
    @GeoffreyofCastille Před 3 lety +4

    Great explanation, very helpful!

  • @georgey084
    @georgey084 Před 2 lety +3

    I have been avoiding any instance that would make me use abstract classes cos the articles I read before never explained it clearly but I think this is the safest way to me now. I have been creating classes and just making things simple by using access modifiers, but yeah, thumb up Bro.

  • @viktoriyapetrova8692
    @viktoriyapetrova8692 Před 3 měsíci

    thank you so much for the explanation, you are the best!!! You did in 5 minutes what my professor was not able to do the whole semester.

  • @Bastyanul
    @Bastyanul Před 2 lety

    Thanks for the video and the knowledge you offer!

  • @NotYou-xk2bo
    @NotYou-xk2bo Před 2 lety +1

    Another great and easy to understand video

  • @augischadiegils.5109
    @augischadiegils.5109 Před 3 lety +3

    Another awesome video thanks bro :)

  • @nevenatutunovic6576
    @nevenatutunovic6576 Před 2 měsíci +1

    WOW..now is so easy for understanding!Thanks

  • @danny.3036
    @danny.3036 Před 3 lety +3

    Thanks, Bro! ☕ You're awesome!

  • @hachemhannechi6422
    @hachemhannechi6422 Před 2 lety +2

    Good videos , very helpful , we need a mysql tutorial to complete the full stack dev

  • @izlepox5234
    @izlepox5234 Před rokem +2

    thank you bro, my professor didnt explain this well and now i totally get it

  • @revanthk61
    @revanthk61 Před 3 lety +1

    Best video to learn about Abstract Classes.

  • @Comedianalexj
    @Comedianalexj Před 10 měsíci

    Nice bro... this made it sooo simple to understand! Thx

  • @juanbaquero8628
    @juanbaquero8628 Před 5 měsíci +1

    Cristal clear! Thanks bro!

  • @mohammadalaskari700
    @mohammadalaskari700 Před 2 lety

    This really helped me. Thank you.

  • @PetiteKero
    @PetiteKero Před 10 měsíci +1

    I LOVE these explanations, the example with the dealership and the vagueness was extraordinary. 💙
    Just one thing that's still keeping me from fully diving into everything: I sometimes miss the practical use. Why would I wanna prevent somebody from instantiating the abstract class? Why do I need to send values to a constructor and not just use the Main class? Any idea how to untie this knot in my brain (which lets me think a miss the very basics of Java)?

  • @elionayzuridasilveira4140
    @elionayzuridasilveira4140 Před 2 měsíci

    Thank you man for this new old tutorial

  • @nawfalnjm5699
    @nawfalnjm5699 Před 3 lety +1

    great video , thank you !

  • @FarizDarari
    @FarizDarari Před 2 lety

    Many thanks! Stay healthy, stay happy, Bro Teacher!

  • @jasonpoonia
    @jasonpoonia Před 2 lety +1

    You are a legend!

  • @miuwai6211
    @miuwai6211 Před 2 lety

    Clear explanation. Thank you Bro -:)

  • @deez-48
    @deez-48 Před rokem

    thanks that helped me remember the concept

  • @kemann3815
    @kemann3815 Před 2 lety

    Extraordinary work

  • @BereketBelete-o2d
    @BereketBelete-o2d Před 5 dny

    Brilliant! Keep it up!

  • @supersakib62
    @supersakib62 Před 2 lety

    Thanks for clear cut explanation.

  • @sergeyb6071
    @sergeyb6071 Před 3 lety +1

    very well explained!

  • @jerryysen
    @jerryysen Před 6 měsíci

    the car dealership example

  • @chiyuzhang3089
    @chiyuzhang3089 Před rokem

    simple and awesome like always

  • @aiueo8962
    @aiueo8962 Před rokem

    anjay, langsung paham gw, keren bang, lanjutkan kerjamu

  • @rafalgontarski3254
    @rafalgontarski3254 Před rokem

    That's awesome

  • @omxln237
    @omxln237 Před rokem +1

    Hi there was watching this on the playlist I've gotten confused with interfaces and abstraction Do you have any websites or videos explaining the main differences ?
    Thankyou in advance (videos are really helpful saving me on my CS degree as a first year xD)

  • @usfeed4902
    @usfeed4902 Před 3 lety +1

    great ! thanks !

  • @YouTube4u95
    @YouTube4u95 Před 10 měsíci

    Very helpful, thank you.

  • @deeplife9654
    @deeplife9654 Před rokem +1

    Just made a comment for prayer to CZcams algorithm ❤❤❤❤❤

  • @yousifalisyed5504
    @yousifalisyed5504 Před rokem

    Thanks for the explanation

  • @ericamuhammad5082
    @ericamuhammad5082 Před 2 lety

    Thank you!

  • @jahed1311
    @jahed1311 Před 2 lety

    youre just great .

  • @sanskritigiri
    @sanskritigiri Před 8 měsíci

    This was a great example

  • @hgatl
    @hgatl Před 3 lety +2

    awesome video

  • @tamekkaknuth9612
    @tamekkaknuth9612 Před rokem

    Nice job again!!

  • @user-zq6yx7of5f
    @user-zq6yx7of5f Před rokem

    Thank you very much!!

  • @immortlreacts1740
    @immortlreacts1740 Před rokem

    appreciate it!

  • @nycolleamaral581
    @nycolleamaral581 Před 5 měsíci

    thanks you, I am brasilian and dont understanding ingles very, but you tell so good!

  • @davidkuda7074
    @davidkuda7074 Před 2 lety

    Nice bro, thanks!

  • @jessepen2
    @jessepen2 Před rokem

    THANKS BRO!

  • @dllm3tommy741
    @dllm3tommy741 Před 9 měsíci

    Thanks for the video

  • @mahmoudelsayed2325
    @mahmoudelsayed2325 Před 3 lety

    appreciated man!

  • @TheEvertonDias
    @TheEvertonDias Před rokem

    Thanks, Bro!

  • @kardrynka
    @kardrynka Před rokem

    Perfect

  • @luisantonio7191
    @luisantonio7191 Před rokem

    Thanks for the class

  • @rrsb45
    @rrsb45 Před 3 lety

    thx a lot bro!

  • @Muhammadfaisal-kd9kx
    @Muhammadfaisal-kd9kx Před 9 měsíci

    easy to understand thankyou

  • @minhtetpaing1695
    @minhtetpaing1695 Před 3 lety

    Thank you so much sir.

  • @michael_scarn_
    @michael_scarn_ Před rokem

    Thank you Bro, you're the best!

  • @user-wf8pv2rb3k
    @user-wf8pv2rb3k Před 5 měsíci

    best channel on youtube.

  • @aryan-ko3il
    @aryan-ko3il Před 9 měsíci

    Love you, from France

  • @tamekkaknuth9612
    @tamekkaknuth9612 Před rokem

    thank you !!

  • @thomas_1611
    @thomas_1611 Před rokem

    Bro is the best

  • @soumelee5661
    @soumelee5661 Před rokem

    i finally understand abstract class, like the "why?" of this topic

  • @Gabriel-xq6tn
    @Gabriel-xq6tn Před 2 měsíci

    Good explanation. Do you need to have a regular method inside an abstract class since an abstract class cannot instantiate objects?

  • @tukwasiibwemartin1587

    Thanx for this. Under what circumstances does a class become abstract?

  • @xXMaDGaMeR
    @xXMaDGaMeR Před 2 lety

    love you bro

  • @curtking8803
    @curtking8803 Před 3 lety +4

    good stuff every time you hit the nail on the head quickly and clearly. let me know when your bible is ready i need a copy... Bro Code Bible,... never leave the house without it

    • @BroCodez
      @BroCodez  Před 3 lety +9

      Thou shall not use many 'else if' statements

  • @o.jpinzon1854
    @o.jpinzon1854 Před 7 měsíci

    super!

  • @david_jn24
    @david_jn24 Před rokem

    number one

  • @aliozeir4546
    @aliozeir4546 Před 2 lety

    perfect

  • @huuloc8719
    @huuloc8719 Před 2 lety

    Nice.

  • @romanrubanovich9273
    @romanrubanovich9273 Před 3 lety

    Thank you so much

  • @Sin1kicune
    @Sin1kicune Před rokem

    nice job bro

  • @yonasfikadie5323
    @yonasfikadie5323 Před rokem

    nice ❤💛💚

  • @yevgenomelchenko732
    @yevgenomelchenko732 Před rokem

    Hey you many thanks to you!!!

  • @jennethestrada2232
    @jennethestrada2232 Před 9 měsíci

    great

  • @soumyadeeppatra5478
    @soumyadeeppatra5478 Před 2 lety

    cool bro

  • @hawzhin010
    @hawzhin010 Před rokem

    thanks for you bro❤

  • @rashmikakelum8803
    @rashmikakelum8803 Před rokem

    thank you bro

  • @user-wv1in8fq4b
    @user-wv1in8fq4b Před 6 měsíci

    liking it

  • @rinadem5219
    @rinadem5219 Před rokem

    best ever

  • @pa-305
    @pa-305 Před 3 lety

    best broooo

  • @ghettoslick2000
    @ghettoslick2000 Před 8 měsíci

    Thanks Bro

  • @user-hf8fv2jm1o
    @user-hf8fv2jm1o Před 11 měsíci

    Thank you

  • @developerjunior446
    @developerjunior446 Před 3 lety +1

    Super

  • @ibrahimylmaz8378
    @ibrahimylmaz8378 Před 2 lety

    thanks bro

  • @justinbanza4751
    @justinbanza4751 Před 2 lety

    very useful

  • @alanjames-dev
    @alanjames-dev Před 3 lety +1

    Thanks

  • @ma8969
    @ma8969 Před 2 lety

    thank you

  • @lmao9619
    @lmao9619 Před 2 měsíci

    best person in the world

  • @Hirenji
    @Hirenji Před rokem

    thank youu broooo