String (computing): Difference between revisions
Jump to navigation
Jump to search
imported>Eric M Gearhart (Initial Core Articles edit) |
imported>Eric M Gearhart (Added Java API documentation reference) |
||
Line 1: | Line 1: | ||
{{subpages}} | {{subpages}} | ||
In [[computing]] and more specifically in various [[programming languages]], '''strings''' are a variable type that can hold text, as opposed to integer variables (so called int variables) that can only hold integers (e.g. a number, such as 5) or a "float" variable, which can hold floating point numbers (e.g. numbers with decimal places - 5.5, 6.3, etc.) | In [[computing]] and more specifically in various [[programming languages]], '''strings''' are a variable type that can hold text<ref>{{cite web| | ||
url=http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html | | |||
title=Java API Documentation: Strings | | |||
author=Sun Microsystems | | |||
accessdate=2009-07-04 | |||
}}</ref>, as opposed to integer variables (so called int variables) that can only hold integers (e.g. a number, such as 5) or a "float" variable, which can hold floating point numbers (e.g. numbers with decimal places - 5.5, 6.3, etc.) |
Revision as of 10:20, 4 July 2009
In computing and more specifically in various programming languages, strings are a variable type that can hold text[1], as opposed to integer variables (so called int variables) that can only hold integers (e.g. a number, such as 5) or a "float" variable, which can hold floating point numbers (e.g. numbers with decimal places - 5.5, 6.3, etc.)
- ↑ Sun Microsystems. Java API Documentation: Strings. Retrieved on 2009-07-04.