Class-level variables are implicitly initialized with default value.
Data Type Default Value (for fields)
String(or any object) null
Local variables should be initialized before accessing as they are not implicitly
assigned with default value.