Saw several code listings in which some variable declaration starts with _. For example long _variable = 0;
What variables start with the character '_' according to java code convention?
Saw several code listings in which some variable declaration starts with _. For example long _variable = 0;
What variables start with the character '_' according to java code convention?
Using an underscore in a java variable is not a good practice, unless it is a constant.
See this question for more details.
Also generally names starting with _ are sometimes used as system variables and there is no sense in starting your variable with _ .