Basic Java Language: Difference between revisions

wikademia>Historybuff
wikademia>Historybuff
→Touch on Classes: elaborate on braces
Line 21: Line 21:
}
}
</pre>
</pre>
This, essentially creates a class. All the code goes between { and }.
This, essentially creates a class. All the code goes between the {, called the opening brace, and the }, called the closing brace.


=Protection=
=Protection=