Understanding Delphi Variable Declarations/Initializations
问题 As it pertains to Delphi... When a variable is declare of a certain type, is it initialized to an OBJECT of that type? Or must the variable be assigned an expression which returns an object of that type? I'm coming from a strong Java background. What I mean to ask is this... In Java, say you declare an instance variable of a user defined type named Orange. Which would look like this: private Orange _fruit; The variable _fruit still holds a reference to null until actually assigned an instance