previous |
start |
next .... [Slide 49] ....
Programming Style: Case Convention
- variables, fields and methods:
start with lowercase, use caps for new words:
name
sayHello
- Classes:
start with uppercase, use caps for new words:
Greeter
ArrayList
- Constants:
use all caps, underscores to separate words
PI
MAX_VALUE
previous |
start |
next .... [Slide 49] ....