AddedStringsToVariables.md (#26546)

* Update index.md

* Fixed comment for String type
This commit is contained in:
Phillnavy
2019-01-07 11:15:37 -05:00
committed by Manish Giri
parent 111a6f0d43
commit cf037f7f1d

View File

@ -31,6 +31,7 @@ int i = 10;
double amount = 10.0;
boolean isOpen = false;
char c = 'a'; // Note the single quotes
String s = "Hello World"; // String is created with double quotes
//Variables can also be declared in one statement, and assigned values later.
int j;