Basic Java Language: Difference between revisions

String is not primitive.
wikademia>MetaBohemian
m →Primitive Data Types: -redundant & erroneous line: Strings aren't primitive
Line 74: Line 74:


==Primitive Data Types==
==Primitive Data Types==
Primitives are the simplest type of data. Primitives consist of numbers, letters and strings of letters (more than one letter in one variable). The following table shows all the types of primitives.
Primitives are the simplest type of data. The following table shows all the types of primitives.
<center>
<center>
{| border=1 cellspacing=0 cellpadding=5
{| border=1 cellspacing=0 cellpadding=5