Variables in Java

Posted on
6,102 Points
Last Modified:
Experience Level: Beginner
Viewers will learn about the different types of variables in Java and how to declare them.

Video Steps

1. Decide the type of variable desired

2. Put the keyword corresponding to the type of variable in front of the variable name

3. Use the equal sign to assign a value to your variable and use the semicolon to close the statement.

4. Demonstrate by doing some examples


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Join & Write a Comment

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Other videos by this author
  1. If Statement in Java(5:35)
  2. Introduction to Arrays in Java(5:20)
  3. For Loops in Java(5:35)

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month