Комментарии:
I am looking to brush up my knowledge about oop, data structures, design patterns and so on so that I can be a better programmer. I am so grateful to you for putting out these videos because i would be kind of lost otherwise ♥️
ОтветитьThank you very much for these videos. 10 years later it is still useful for me! I really appreciate it.
ОтветитьThis video is just so great!!! Thanks for saving me from the software design assignment!
ОтветитьDone thanks
Notes:
Abstract methods in an abstract class must be overrided by the subclass
Finally found a design pattern / general java playlist that isn't presented by someone with a really strong accent that is hard for me to follow! Cheers Derek
ОтветитьYou are a bit too fast for me
Ответитьstill watching 2020
Ответитьdoes static == singleton?
also, is polymorphism basically just mean using "extends"?
thx 4 vid
i wish i was living lmao
ОтветитьWhy did you add a private attribute name in Giraffe when it already has protected name from Creature class.
Ответитьc r e a t u r e d o t j a v a
ОтветитьOMGosh Derek!
You are almost in the double comma club!
as of today summer 2019 at 980,000 subs! Man your channel has grown over the years!!
Steadily == Healthily
Your videos have been a huge help over the years, Thanks!
getSound is a method that is only defined in Animal, the sound defirence is in the variabale sound. So not the best exemple to show case polymorphism. Any way greate tuto it helped a lot.
You didt have to redefine name in Giraf since it is already inhereted frome the super class Creature.(and it is a protected not private field so you can acess it).
Please if it is me who didn't get stuff right correct me so I can become a better programmer :).
What will you prefer when we have a choice to select between abstract class and interface cz both provides more or less same implementation?
ОтветитьHello Mr Banas,
Awesome videos, really help me prepare for my University exams.
I thought I would point out that Interfaces can now also have default methods as of Java 8.
Thank you again.
one of the best ways of teaching I have ever enjoyed
ОтветитьYou dont type things under methods you only type system out is that what mostly used and function must not be big with code?
ОтветитьNice job Derek, perhaps could be more clear to explain Static not inside de test class, even when you explained it properly, the example is not so brillant like the rest of the explanation.
Thank you for the tutorial by the way
dont worry im a highly trained professional, ive watch Derek design patterns tutorial
ОтветитьAnyone ever tell you that you sound like reverend lovejoy?
Great tutorial series by the way.
Loving it so far!
I removed adblock just for you <3
Ответить'You have to remember it' - I can hear it a couple of times. And it is a terrible bad approach - what you remember you can easily forget. What you KNOW & UNDERSTAND - it will stay with you for the rest of your life. Just learn what static means, its lifetime, and how it differs from the concrete part, and you will never have to remember anything..
Ответитьne zaman mutlu olacam lan
ОтветитьDo I need to declare Kitty as Animal for it to be able to be stored in an Animal Array ?
ОтветитьWhy do you need add name in the Giraffe class, isn't it inherited from Creature already?
ОтветитьVery simple, but powerful tutorial. an excellent teaching work
ОтветитьJust a few questions.
Why do we have to make interfaces if we implement all of the methods in the classes. As in , we have to type the exact methods and alter them. Plus we have to type the stuff that we don't need.
Is it just to refer a giraffe or a rhino as a creature ?
Really helpful! Thanks a lot.
Ответитьyou keep postponing a detailed tutorial on interfaces ;-;
I keep jumping from video to video to find it xD
Which tutorial is going to have it in greater detail ?
not Python.
ОтветитьExcellent tutorial !! Your flow while talking is fantastic :)
Ответитьfinally up to the good stuff. Liking this Design Patterns section so far the best.
ОтветитьPlease alow me to add that the kitty will execute the Cat's method because the Reference type of it is Animal, BUT the Object type is Cat and the method call goes by the Object type. Right?
ОтветитьImplementing the functionality around `name`, in such a subclass, is probably a bad practice. Many animals could likely have a name (and thus should have an empty/null, for lack of). So it might be better to implement all of that further up the hierarchy. Instead of overriding the `name` variable, in the Giraffe type/class, a `coatPattern` field may have made more sense in this context.
ОтветитьAmazing! Thanks for the tutorial.
Ответитьi do find your videos more interesting than the others. i recommend update to java 9, and thx a lot for teaching us
ОтветитьYou are amazing ... Thank you
ОтветитьWhen you say "You can only use public static and final fields" in an interface, what do you mean by final fields? Are you referring to fields that have already had their value set, such as constants?
Ответитьwhy the fields inside the abstract class are protected? why if I extend form an abstract class need to re define the protected fields?
ОтветитьWell Hello Internet!!
ОтветитьYou teach very well. But you're talking too fast Sometimes i cannot catch up
ОтветитьIn abstract class Creature, You declared protected field called Name. Why have you declared it too in Giraffe class as private field? Have you coverd it by purpose. And what about Name in class which will inherit from Giraffe.
ОтветитьI would have never skipped my college lectures if you were my lecturer.
Ответить