1. @AbrahamMarin
Data types and flow control
Abraham Marin-Perez
●Java Programmer for about 10 years
●Also C#, PHP and some Ruby
●Public speaker
●Author
5. Data Types
●Primitives: simple entities, can be assigned with
literals
●Objects: complex entities, can hold variables
(primitives or other objects) and have functions
13. Data Types
●Primitives: the same individual value cannot be
shared, a copy is made on assignment
●Objects: multiple references to the same value are
possible, the same value is shared on assignment