Computer Science, asked by HimanshuBhuarya7199, 1 year ago

what happens to a static variable that is defined within a method of a class?

Answers

Answered by sneharam23
1

Only final variable is permitted inside method and if you define then you will get compile time exception.

Similar questions