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
String
char
String variableName = "Text to store";
//Example
String myName = "Jim White";
Introduction to Java