This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes scope variables Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "scope variables" Watch "scope variables" New topic
Author

scope variables

madhuchilipi reddy
Greenhorn

Joined: Feb 09, 2007
Posts: 17
wt are the scope variables in java
satishkumar janakiraman
Ranch Hand

Joined: May 03, 2004
Posts: 334
Hi,

Can you explain your question clearly ?

bye for now
sat
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16815
    
  19

Originally posted by madhuchilipi reddy:
wt are the scope variables in java


There is no such thing as "scope variables" in Java. (or any programming languages that I know of).

The "scope" is a characteristic of a variable, that you should understand. Basically, it defines the context for which the variable is valid. For example, a local variable defined within the method, is only valid for the method call. It can't be accessed from other methods, nor does its value persist over multiple method calls.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: scope variables
 
Similar Threads
Help w/SingleThreadModel
How to share variables in Struts tiles?
JSP String value obtained from servlet out
passing beans between jsps
member vs local