Java Type System: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Java") |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Java#Subjects|Java]] | * [[Java#Subjects|Java]] | ||
=Native Types= | |||
==byte== | |||
==char== | |||
A <tt>char</tt> is stored internally on two [[#byte|bytes]]. | |||
==short== | |||
A <tt>short</tt> is stored internally on two [[#byte|bytes]]. | |||
==int== | |||
A <tt>int</tt> is stored internally on 4 [[#byte|bytes]]. | |||
==long== | |||
A <tt>long</tt> is stored internally on 8 [[#byte|bytes]]. |