Objects and References with Polymorphism (Java Tutorial)

preview_player
Показать описание
This Java tutorial for beginners discusses reference variables, references, and objects with an explanation and examples of polymorphism.

Aligned to AP Computer Science A. Part of Object Oriented Programming Java (Java OOP).


#Java #JavaTutorial #JavaTutorials
Рекомендации по теме
Комментарии
Автор

amazing ive been looking all over for this

Yuh
Автор

Great Video. Maybe you can put the oracle docs link you mentioned at the end of your video to the video description in the future?

shahzaib-xsjq
Автор

Thank you so much. Such an amazing video! I have always wanted to know about this topic but i wasn't able to find a good source. Thanks a lot. I have a question if you don't mind what is the point of defining in this way? Animal dog = new Dog()? What features do we get by doing this? Thanks

thestarinthesky_
Автор

Hi, for me it's not clear if that arrow(the actual reference value) that is stored in the reference variable it's a phisical memory address(that we cannot use in our program) or it's another value that JVM use to recognise the object.

stanescucristian