Data types in Java

[glossary_exclude]A data type classifies various types of data eg. String, integer, float, boolean, the types of accepted values for that data type, operations that can be performed on the data …

Variables in Java

In this tutorial you will learn how to create variables in the Java programming language. Variables are used to store data in a program.  A variable is like a ‘container’ …

Variables and strings in C#

This tutorial explains how to create variables and use strings in the C# programming language. Variables are used to store data that can be used throughout a program. Variables can …

Array extract function in PHP

This tutorial explains how to use the extract function in PHP on an array. The extract function is used to turn array elements into variables. It works on only associative arrays – …

Variables in PHP

This tutorial explains what variables are, how to declare variables, and how to assign values to variables in PHP. It also explains how to include variables in an echo statement. A …

Operators

If you have created your own variables and assigned them each a value (such as a string or integer), then you will already be familiar with the assignment operator which …

Data Types

This source code shows how create and use variables of different data types. Strings are text (letters, numbers and characters), integers are regular whole numbers (treated as numbers), and floats …

Variables

The code snippet below shows how to declare variables in JavaScript and how to assign values to a variable. Pay attention to the //comment which explain the different ways of …

Operators in JavaScript

In this tutorial, you will learn how to use a range of operators in JavaScript to assign values, modify variables and make calculations. If you have created your own variables and …

Variables and data types in Python

This tutorial explains how to use variables in Python to store integers and strings. It also explains how to concatenate (join) strings in Python. In programming, a variable is used …