Braces, also known as curly braces, look like this { }. Java uses them for surrounding the bodies of loops, methods and classes.
Other bracketing pairs to consider are:
| Various Bracketing Characters | ||||||
|---|---|---|---|---|---|---|
| Name | Appearance | HTML (Hypertext Markup Language) | Hex | |||
| parentheses | ( | ) | ( | ) | ( | ) |
| brackets | [ | ] | [ | ] | [ | ] |
| braces | { | } | { | } | { | } |
| angle brackets | < | > | < | > | < | = |
| guillemots | « | » | « | » | « | » |
| arrows | ← | → | ← | → | ℐ | → |
| double arrows | ⇐ | ⇒ | ⇐ | ⇒ | ⇐ | ⇒ |
|
|
available on the web at: |
http://mindprod.com/jgloss/braces.html |
optional Replicator mirror
|
J:\mindprod\jgloss\braces.html | |
![]() |
Please email your
feedback for publication,
letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear
wording, broken/redirected link reports, suggestions to improve this page or comments to
Roedy Green :
| |
| Blog | Canadian
Mind
Products
IP:[65.110.21.43] Your face IP:[54.235.20.17] |
|
| Feedback | You are visitor number 15,761. | |