Solid Understanding of Object and Object Reference in Java

Опубликовано: 05 Октябрь 2024
на канале: Apply IT
262
6

‪@ApplyIT2021‬ #java #object #reference
This video provides sound understanding of object and object reference in Java. In Java, an object is accessed using object reference. Java allows to store an object of a derived class in a reference variable of a base class; so in this situation, the choice of reference variable affects to what data members and member functions of the held object are accessible. We use our own notations to explain this concept in an effective way. Understanding of this concept is very useful to understand runtime polymorphism. The notations used are useful to understand similar concepts in other object-oriented programming languages also.

The concepts presented in this video will be useful to understand the following:
Objects and references
What is a reference variable in Java
How reference variable is different from an object in Java
Difference between creating a reference and creating an object in Java
Using an object of derived class with a reference of base class in Java
What is object in Java
What is reference in Java
Object reference in Java
Runtime polymorphism

Watch other USEFUL and INTERESTING Videos on Java:

   • How to use multiple Java versions at ...  
How to use multiple Java versions at the same time?

   • Animation in Java - Rotating Ball aro...  
Animation in Java - Rotating Ball around a center using Multithreading and Graphics Programming

   • Sliding Ladder animation using Multit...  
Sliding Lader animation using Multithreading and Graphics Programming in Java - Animation in Java