Basics of the Java language

Let’s talk about basics of the java programming language: A program is a specific set of ordered operations to be performed by a computer. A program can be compared to a recipe, which contains a list of ingredients called variables and a list of directions called statements. The statements tell the computer what to do with the variables.

The variable is a value that can change, depending on conditions or on information passed to the program. These variables are defined as data types. A data type is a set of data with values having predefined characteristics.

Control statements determine the portions of the program that should be executed. They also determine the order of execution and the number of times the program needs to be executed. A value stored in a variable could direct the program flow.

[quote]A Java program consists of a set of classes. A program may contain comments. The compiler ignores these commented lines. [/quote]

Keep it touch. We will discuss more about basics of the java language, such as, classes and methods, data types, variables, operators, and control structures in the future.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s