Introduction to Java
Jim White
Java Developer




// Examples
char initial = 'J';
char size = 'M';
char ampersand = '&';
Single quotes
char initial = 'J';
Primitive data type
Double quotes
String name = "Jim";
Not a primitive, collection of characters
Stringchar
String variableName = "Text to store";
//Example
String myName = "Jim White";



Introduction to Java