Design Patterns Video Tutorial 2

Design Patterns Video Tutorial 2

Derek Banas

11 лет назад

385,476 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Soban Farooq
Soban Farooq - 05.01.2023 15:43

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 ♥️

Ответить
Lucky Temitope
Lucky Temitope - 23.04.2022 07:28

Thank you very much for these videos. 10 years later it is still useful for me! I really appreciate it.

Ответить
Cindy Xiao
Cindy Xiao - 22.10.2021 07:14

This video is just so great!!! Thanks for saving me from the software design assignment!

Ответить
Mostafa
Mostafa - 20.08.2020 14:12

Done thanks
Notes:
Abstract methods in an abstract class must be overrided by the subclass

Ответить
Mark Venn
Mark Venn - 15.08.2020 14:45

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

Ответить
Jadeclon
Jadeclon - 09.06.2020 14:41

You are a bit too fast for me

Ответить
BullishBuddy
BullishBuddy - 04.04.2020 03:43

still watching 2020

Ответить
Detective Donald Kimball
Detective Donald Kimball - 23.03.2020 01:26

does static == singleton?
also, is polymorphism basically just mean using "extends"?


thx 4 vid

Ответить
Yuri
Yuri - 27.02.2020 01:50

i wish i was living lmao

Ответить
Milind Kamat
Milind Kamat - 17.12.2019 22:29

Why did you add a private attribute name in Giraffe when it already has protected name from Creature class.

Ответить
Matt Graves
Matt Graves - 17.08.2019 14:33

c r e a t u r e d o t j a v a

Ответить
Matt Graves
Matt Graves - 17.08.2019 08:56

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!

Ответить
Ayman Bourchachene
Ayman Bourchachene - 06.08.2019 18:22

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 :).

Ответить
Rasika Kakade
Rasika Kakade - 03.07.2019 12:35

What will you prefer when we have a choice to select between abstract class and interface cz both provides more or less same implementation?

Ответить
Aamer
Aamer - 29.04.2019 18:40

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.

Ответить
mohamed salah
mohamed salah - 24.04.2019 15:15

one of the best ways of teaching I have ever enjoyed

Ответить
Ahmad Hajoj
Ahmad Hajoj - 30.03.2019 11:59

You dont type things under methods you only type system out is that what mostly used and function must not be big with code?

Ответить
Silverio Rosales
Silverio Rosales - 09.03.2019 18:11

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

Ответить
spooky_zen
spooky_zen - 18.02.2019 17:10

dont worry im a highly trained professional, ive watch Derek design patterns tutorial

Ответить
Floating Sunfish
Floating Sunfish - 25.01.2019 17:49

Anyone ever tell you that you sound like reverend lovejoy?
Great tutorial series by the way.
Loving it so far!

Ответить
unske
unske - 06.01.2019 18:32

I removed adblock just for you <3

Ответить
Pazurrr1501
Pazurrr1501 - 06.01.2019 17:21

'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..

Ответить
Ali İhsan Elmas
Ali İhsan Elmas - 22.11.2018 22:31

ne zaman mutlu olacam lan

Ответить
Lightning theBeast
Lightning theBeast - 04.11.2018 10:34

Do I need to declare Kitty as Animal for it to be able to be stored in an Animal Array ?

Ответить
G G
G G - 28.10.2018 02:27

Why do you need add name in the Giraffe class, isn't it inherited from Creature already?

Ответить
Ernesto Quisbert
Ernesto Quisbert - 04.10.2018 05:52

Very simple, but powerful tutorial. an excellent teaching work

Ответить
Lightning theBeast
Lightning theBeast - 23.08.2018 19:19

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 ?

Ответить
Kelvin page
Kelvin page - 18.07.2018 08:59

Really helpful! Thanks a lot.

Ответить
cha Bing
cha Bing - 08.07.2018 23:55

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 ?

Ответить
Mark Leo
Mark Leo - 06.07.2018 18:03

not Python.

Ответить
Ankit Mehta
Ankit Mehta - 06.07.2018 08:48

Excellent tutorial !! Your flow while talking is fantastic :)

Ответить
Steven Dahm
Steven Dahm - 06.06.2018 21:04

finally up to the good stuff. Liking this Design Patterns section so far the best.

Ответить
fotios
fotios - 27.03.2018 08:57

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?

Ответить
veganaiZe
veganaiZe - 09.03.2018 23:46

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.

Ответить
Igor Radovanov
Igor Radovanov - 07.03.2018 01:27

Amazing! Thanks for the tutorial.

Ответить
John Batino
John Batino - 28.02.2018 15:12

i do find your videos more interesting than the others. i recommend update to java 9, and thx a lot for teaching us

Ответить
Shadi Kattaa
Shadi Kattaa - 25.02.2018 16:33

You are amazing ... Thank you

Ответить
Noctem Studios
Noctem Studios - 07.02.2018 19:09

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?

Ответить
alicia beltran
alicia beltran - 02.02.2018 01:49

why the fields inside the abstract class are protected? why if I extend form an abstract class need to re define the protected fields?

Ответить
Pengguna PHP
Pengguna PHP - 03.01.2018 20:37

Well Hello Internet!!

Ответить
Doruk Su (Alumni)
Doruk Su (Alumni) - 25.12.2017 14:37

You teach very well. But you're talking too fast Sometimes i cannot catch up

Ответить
zolty13
zolty13 - 21.11.2017 17:37

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.

Ответить
KJ Sudarshan
KJ Sudarshan - 02.09.2017 09:24

I would have never skipped my college lectures if you were my lecturer.

Ответить