1
Answer

how to convert static variable to non static normal variabl

Photo of Rajesh Thiru

Rajesh Thiru

6y
707
1
how to assign the static variable value to non static variable and use it in non static method . i tried it but the i cannot access the static variable to non static
static int a=100;
int b= a;
in above how can i access it its not working

Answers (1)