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: th-cam.com/video/0_V-z6QcaWc/w-d-xo.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
Brilliant, very simple yet accurate.
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 :)
clear explanation. I used this logic in python.
Thanks, its a clear lesson that we can understand !
Marcus you did an excellent job on this video. Thank you very much!
You're welcome! Great that you liked it!
simple explanation & very professional
Super smooth explanation ...❤️
best explanation ever, Thank you.
You're welcome! :)
thanks a lot for this wonderful explanation.
your welcome :)
god bless you
This is awesome! Subscribed.
You're welcome :)
thank you for this cool video.
You're welcome! :)
Great explanation
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.
lol, "only to find out that his mommy has joined him." that would be funny.
That was the point! :)
Thank you!
Good Video!!
Thank you so much sir :)
Your welcome.
A true Craftsman
thanks :)
Are you using a different Person constructor to construct the mother object?
Object is a simple coffee bean?
Thanks!
Your welcome :)
thanks a lot sir
Nice !
2:37
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?!
good lad
good
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!
among us?
Horraaaay!
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
A M O G U S
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:
th-cam.com/video/0_V-z6QcaWc/w-d-xo.html
It shows different strategies of how to create a deep or shallow copy.