THE ZEPINT NETWORK

programmer assist

Programming Programming XML Feeds

Programming Questions Programming Solutions Programming Articles

Computer programming (often simply programming) is the craft of implementing one or more interrelated abstract algorithms using a particular programming language to produce a concrete computer program. Programming has elements of art, science, mathematics, and engineering.

What Are Variables? (Java Question)

DiggBlinkRedditDeliciousTechnorati

question by Jackson | Easy

What is Variables?

Post reply Subscriptions

Re: What Are Variables? (Java Question)

reply by Srirangan

Okay, this is the last time I'm gonna answer your homework question.. ;-)

So what is a variable?
# It is simply a place in your computer?s memory where you can store information that can be manipulated in your program.

What type of data is stored in a variable?
# The type of data stored depends on the data type of the variable. A variable can store characters, like a letter to your Mother, or number, like in a letter to the IRS or true or false values.

Is the same variable used throughout the program?
# No, variables have scope. The scope is the portion of the code in which the variable is defined and its data can be accessed. When the variable goes out-of-scope, the program can no longer access its data. By correctly defining a variable?s scope, the same name can be used several times in the same program with no ill effects.

Post reply Subscriptions

Got a Programming Question?

Just Sign Up and ask the top Programming experts!

Search via Google

User Login

Email Address

Password

Programming Experts

Rank Expert Points
#1 martinig 500
This a list of the Top Programming experts, how many points do you have?

Leading Experts

Rank Expert Points
#1 frankzzsword 4600
#2 Bejaan 2900
#3 csfreak 1100
#4 Anurag 700
#5 keyvez 700
#6 nnarasimha 600
#7 Nakata 600
#8 martinig 600
#9 mastercomputers 400
#10 Huntress 150
#11 Adkron 150
#12 Yogesh 100
#13 lexxwern 100
#14 Mustan Khan 100
#15 poizn 100
This is a list of overall best performing experts, how many points do you have?