Why is it possible to declare a variable without an initial value?
问题 I'm reading Gilles Dowek's Principles of Programming Languanges : He says that it's also possible to declare a variable without giving it an initial value and also that we must be careful not to use a variable which has been declared without an initial value and that has not been assigned a value. This produces an error. Note: The book's author mentions the possibility of declaring variables without an initial value on Java. So, why is this declaration of variables valid? When am I going to