You can't instantiate ADTs, as they're interfaces, only classes that implement them. But you can have an ADT as a variable, ie. on the left-hand-side. Curiously one can apparently also have a variable of an Abstract Class as this compiles just fine: AbstractList y = new ArrayList(); ...but I'm not sure if some automatic type conversion is going on there.
Thx for the nice video! I have one question, why is it important to use private variables and information hiding? Which means others won't be able to see the inside logic. But, if the logic and code is inefficient, wouldn't be more efficient others look at the code and able to adjust the code?
Access modifiers such as private refer to access during runtime. It means another program could not use it directly, it would have to use the getter method. I think you're getting confused with open-source code, which is publicly available code.
At minute 3:13, it would be really nice if you didn't assume all your viewers were straight men. And assuming that hiding information is what guys do with their girlfriends is pretty brutal. Regardless of whether your thinking is that guys are cheating assholes or girls are controlling bitches - either way you are perpetuating negative, sexist stereotypes. Other than that, great video.
it's been a while but i noticed this as well and it made me uncomfortable in an otherwise very helpful video! thank you for pointing this out, cs has long been a boys club and it doesn't help to use these exclusive and problematic examples in instructional videos
If you are looking right now at comments reviews, I highly recommend this guy ^^
Better than my prof... you just made this understandable. THANK YOU.
Wow. This is definitely top explanation
Great video! The last diagram is super helpful as well.
This is an excellent explanation! helps so much!
You can't instantiate ADTs, as they're interfaces, only classes that implement them.
But you can have an ADT as a variable, ie. on the left-hand-side.
Curiously one can apparently also have a variable of an Abstract Class as this compiles just fine:
AbstractList y = new ArrayList();
...but I'm not sure if some automatic type conversion is going on there.
The diagram at the end made things so much easier to understand.
A very informative video! loved your creativity.
What do you use for drawing?
Good tutorial but 3:23 is not true. Most people here do not have a S/O
Thx for the nice video! I have one question, why is it important to use private variables and information hiding? Which means others won't be able to see the inside logic. But, if the logic and code is inefficient, wouldn't be more efficient others look at the code and able to adjust the code?
Access modifiers such as private refer to access during runtime. It means another program could not use it directly, it would have to use the getter method. I think you're getting confused with open-source code, which is publicly available code.
Very nice, keep going. you helped a lot.
Thanks for the helpful video!
Subscribed. Very nice, easy and helpful. Excellent Work
thankyou very much. nice draw.
You were pretty clear! Awesome
So ADT= Concrete Classes
clear
Is that your hand writing?
thanks puppy
Thank you
you ever deal with an STD?
At minute 3:13, it would be really nice if you didn't assume all your viewers were straight men. And assuming that hiding information is what guys do with their girlfriends is pretty brutal. Regardless of whether your thinking is that guys are cheating assholes or girls are controlling bitches - either way you are perpetuating negative, sexist stereotypes. Other than that, great video.
Just shut the fuck up boomer
it's been a while but i noticed this as well and it made me uncomfortable in an otherwise very helpful video! thank you for pointing this out, cs has long been a boys club and it doesn't help to use these exclusive and problematic examples in instructional videos
who cares? oops.. not me
I agree on gender neutral examples in the media. Not many might think its important, but it is.