Java syntax: Difference between revisions

Content deleted Content added
m Modifiers: replaced: which ever → whichever using AWB
m Literals: comma
Line 171:
|}
 
Integer literals are of <code>int</code> type by default unless <code>long</code> type is specified by appending <code>L</code> or <code>l</code> suffix to the literal, e.g. <code>367L</code>. Since Java SE 7, it is possible to include underscores between the digits of a number to increase readability,; for example, a number <tt>145608987</tt> maycan be written as <tt>145_608_987</tt>.
 
===Variables===