It is great that you speak slowly and clearly. In most cases Google's automatic translation understands you well. This allows people around the world to view these lectures. Thanks
Actually, the subtitles you see in my videos are not done by Google, but manually added by my editor. They just contain some errors, but I decided to leave them in and spent the time on producing more content :)
I saw that there were subtitles in English, but I was watching subtitles in Hebrew. I assume that translation is more successful when it is made from your captions rather than through automatic speech recognition. Either way, you speak slowly and clearly. Thank you
Vielen Dank !! Ich hatte dieses Thema in Programmierung 1 nicht wirklich verstanden aber dieses Video hat das Thema tiefe und flache Kopie hervorragend erklärt 👍
1. In 99% of the cases, use an Immutable (see my next video). 2. A shallow copy you will use intuitively. But sometimes, that is not enough, because, as I showed in my example, this can lead to unwanted side effects. In these cases consider creating a deep copy. However, often it is also enough to just deep copy a part of the object, like I did with address in the video.
I don’t get it. The constructor has only one parameter: Person otherPerson. But when u create the Person object you put new name and new address in the constructor?!
Yes you cannot instantiate an Abstract class, but still, when a concrete class, extending the abstract class gets created, of course also the abstract part needs to be created. using super() (plus any arguments needed) you can call it from the constructor of your concrete class. But as you will see, this very soon gets very confusing. Avoid too complex inheritance hierarchies, and avoid inheritance altogether!
@@MarcusBiel I realized that I skipped a few videos previous to this one, I will watch those skipped and rewatch this one. Maybe that will help. Thanks anyway !!!!
It is an entire Java course, and this had already been explained by me in the past. Please watch this video: ruclips.net/video/0_V-z6QcaWc/видео.html It shows different strategies of how to create a deep or shallow copy.
It is great that you speak slowly and clearly.
In most cases Google's automatic translation understands you well.
This allows people around the world to view these lectures.
Thanks
Actually, the subtitles you see in my videos are not done by Google, but manually added by my editor. They just contain some errors, but I decided to leave them in and spent the time on producing more content :)
I saw that there were subtitles in English, but I was watching subtitles in Hebrew.
I assume that translation is more successful when it is made from your captions rather than through automatic speech recognition. Either way, you speak slowly and clearly.
Thank you
Vielen Dank !! Ich hatte dieses Thema in Programmierung 1 nicht wirklich verstanden aber dieses Video hat das Thema tiefe und flache Kopie hervorragend erklärt 👍
Hands down the best explanatory video I've seen so far
excellent, I noticed that what I needed was a deep copy, thank you very much for this contribution!
Great that I was ableo to help you! :)
You are my favourite faculty. awesome video...
Thanks :)
Brilliant, very simple yet accurate.
Marcus you did an excellent job on this video. Thank you very much!
You're welcome! Great that you liked it!
lol, "only to find out that his mommy has joined him." that would be funny.
That was the point! :)
simple explanation & very professional
Thanks, its a clear lesson that we can understand !
clear explanation. I used this logic in python.
hi Marcus,
Thanks for sharing this video tutorial.
But Please provide the real live project example where we can use the shallow copy and deep copy.
1. In 99% of the cases, use an Immutable (see my next video).
2. A shallow copy you will use intuitively. But sometimes, that is not enough, because, as I showed in my example, this can lead to unwanted side effects. In these cases consider creating a deep copy. However, often it is also enough to just deep copy a part of the object, like I did with address in the video.
Super smooth explanation ...❤️
best explanation ever, Thank you.
You're welcome! :)
Great explanation
thanks a lot for this wonderful explanation.
your welcome :)
thank you for this cool video.
You're welcome! :)
A true Craftsman
thanks :)
This is awesome! Subscribed.
You're welcome :)
god bless you
Are you using a different Person constructor to construct the mother object?
Good Video!!
Thank you!
Object is a simple coffee bean?
I don’t get it. The constructor has only one parameter: Person otherPerson. But when u create the Person object you put new name and new address in the constructor?!
1.As we know we cannot instantiate Abstract class then why there is no restriction for taking constructor in Abstract class?
Yes you cannot instantiate an Abstract class, but still, when a concrete class, extending the abstract class gets created, of course also the abstract part needs to be created. using super() (plus any arguments needed) you can call it from the constructor of your concrete class. But as you will see, this very soon gets very confusing. Avoid too complex inheritance hierarchies, and avoid inheritance altogether!
Thank you so much sir :)
Your welcome.
Thanks!
Your welcome :)
Nice !
thanks a lot sir
good lad
among us?
Everything cool up to minute 4, then I got confused maybe it is because I am such a beginner.
Confused by what?
@@MarcusBiel I realized that I skipped a few videos previous to this one, I will watch those skipped and rewatch this one. Maybe that will help. Thanks anyway !!!!
@@MarcusBiel There's going to be a city class too right? for otherPerson in the deep copying
good
A M O G U S
Horraaaay!
2:37
I understood the diference between the copies but stil can't know how to do a deep copy of my object.
It is an entire Java course, and this had already been explained by me in the past. Please watch this video:
ruclips.net/video/0_V-z6QcaWc/видео.html
It shows different strategies of how to create a deep or shallow copy.