how to overcome the error local variable is not initialized in java code example
Example: variable not initialized in ajva
int i; //declaration
i = 10; //initialization
int x = 10; //initialization + declaration
int i; //declaration
i = 10; //initialization
int x = 10; //initialization + declaration