Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.04 KB

File metadata and controls

13 lines (9 loc) · 1.04 KB
PRIMITIVE TYPES
Integer: byte (8bit), short (16bit), int (32bit), long (64bit) Decim: float (32bit), double (64bit)
java.lang.String Methods
// Operator +, e.g. "fat" + "cat" -> "fatcat" boolean equals(String other)
StringBuffer, StringBuilder
StringBuffer is synchronised StringBuilder. Use StringBuilder unless multithreaded. Use the .append (xyz ) methods to concat. toString() converts back to string.