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
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Jan 12, 2019, 5:02 AM