so many informations in just 7 min amazing job man . i have to rewatch it again and again to take the most out of it . thanks for your time sir really amazing series
@geekific3 жыл бұрын
Awesome, glad you are enjoying the series
@The_Ashwatthama4 ай бұрын
i have rewatched so many times to make sure i have comprehend whats in the 8 mins :). Seasonal devs might grasp quick. Crisp and highly informative videos! thanks.
@empathetic246715 ай бұрын
It is a superb content. It took me 4-5 time of rewatch but now my concepts are clear. Thanks man
@tulasidamarla8 ай бұрын
Wonderful. Now I understood that Java's Cloneable interface is nothing but prototype design pattern. When I read about Cloneable from Effective Java book, I didn't realise that this is prototype design pattern. Thank you very much @Geekific. I have observed one difference. With Cloneable instead of calling super class's copy constructor, it invokes super.clone()
@pavelsavelev25602 жыл бұрын
honestly your explantions are amazing
@geekific2 жыл бұрын
Thanks a lot! Glad you are enjoying our videos :)
@guljamalzim3 жыл бұрын
Very well explained. Thanks.
@geekific3 жыл бұрын
Glad you liked it! :)
@architectureflashlight3692 жыл бұрын
Deep, precise, and clear explanation. Thank you
@geekific2 жыл бұрын
Glad you think so! Thank you :)
@miaougrrpaw2 ай бұрын
Thanks u, you saved my life
@yatri63292 жыл бұрын
How we are setting value of Class attribute in registery the attribute of Car class is private and there is no setters u have shown???
@geekific2 жыл бұрын
Yes you are right :) This video is about explaining the the ideas behind the Prototype Pattern, and what you mentioned is an implementation detail, that is why I figured it wasn't necessary to show every single class created! Hope this answers your question!
@yatri63292 жыл бұрын
@@geekific understood, So i did according u mentioned can u check my code if i send u over mail or as u suggest.
@TechOnScreen2 жыл бұрын
what does super(car) do. time : 5:47
@geekific2 жыл бұрын
It calls the constructor of its parent class.
@TechOnScreen2 жыл бұрын
can we do prototyping for differnt type of objects , suppose one is 'Fruit ', other is 'FruitDTO'
@geekific2 жыл бұрын
I am not sure I got the question :(
@haithemnasri72102 жыл бұрын
Well we're not talking about cloning in this case, its *converting* !! You have to create a convertToDto method in your fruit class to convert fruit entity to dto Or create a FruitConverter class (preferably a singleton) that has two methods: convertToFruitEntity & convertToFruitDto
@TechOnScreen2 жыл бұрын
@@haithemnasri7210 thanks
@o.fm.a5573 Жыл бұрын
I find the code in this video extremely confusing. Im having problems relating the spoken information to the written information D:
@geekific Жыл бұрын
Sorry to read that! Let us know which parts were confusing so we can try and help you!
@deepkiran7249 Жыл бұрын
how are fields immutable when there is no final keyword there ??
@geekific Жыл бұрын
Hey! You may be mixing a couple Java concepts here! Please take a look at these videos: kzbin.info/www/bejne/Zl6XYoaDpLuSiqM & kzbin.info/www/bejne/lZXVf5aCjMyIoqc and let me know if you still have this question :)
@رياحالهاشمية Жыл бұрын
شكرا
@mangosayed14533 жыл бұрын
perfect
@geekific3 жыл бұрын
Thank you!
@Matelight_Repetition Жыл бұрын
I didn't know that object of the same class can access the private fields of another object of the same class
@geekific Жыл бұрын
I am not sure I got you. Sorry!
@dadlord6892 жыл бұрын
Weird thing is that we trying to solve copying now... when arrays have Copy function, that just utilizes copy of data (memcopy) in RAM.
@geekific2 жыл бұрын
Hello! We are detailing and explaining the Prototype pattern as it figures in the GoF book :) Feel free to use it as you see fit!