What are the different scopes for Java variables? Ans. The scope of a Java variable is determined by the context in which the variable is declared. Thus a java variable can have one of the three scopes at any given point in time. 1. Instance : - These are typical object level v...
See more
Download the Study24x7 App, so you can connect and collaborate.