Home » Coding, Open Source Tools

Java Tutorial #2 – Variables and Data Types

5 November 2008 No Comment

In tutorial 2, we introduce the concept of variables and data types. A variable is like a container in your program. It’s a place to store things. If you want to keep a number or some text, then you can put it in a variable. Each variable has a data type, which just tells Java what you’re going to put in that variable. There are several data types, but in this tutorial we will only cover the most useful ones.

http://www.javaomatic.com/javalesson2.html

Related Posts:

Comments:

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.

*