I was wondering what the difference between declared instantiated and un-instantiated reference variables is.
For example:
- I have a class called
Rhino
.
I make a variable ofRhino
by declaring it, but I don't instantiate it. - Then I make another variable of
Rhino
by declaring it and I instantiate to a value ofnull
.
What is the difference between these two?
I'm attempting to make a singly linked list.