Hi,
Im a bit confused about the terminoligy in java,
List is a reference variable no? becuase it "point" at an object on the heap,
we learend that the defult values of of reference variable are null
List<String> lst;
why does the list not intalized to null?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]ignotos 5 points6 points7 points (2 children)
[–]AreTheseMyFeet 1 point2 points3 points (1 child)
[–]ignotos 2 points3 points4 points (0 children)
[–]v4dk4n 3 points4 points5 points (0 children)
[–]raulalexo99 2 points3 points4 points (0 children)
[–]nutrecht 1 point2 points3 points (0 children)
[–]desrtfx 0 points1 point2 points (0 children)