TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Rule:  Basic100Checked automatically with code checker

Synopsis:Each variable should have an initializer.
Language:Java
Severity Level:3
Category:Basic


Description:

Local variables should be declared at the point they are first used. Nearly every local variable declaration should contain an initializer. If you don't yet have enough information to initialize a variable sensibly, you should postpone the declaration until you do.



Literature References:
Google Android Guidelines