previous
|
start
|
next
.... [Slide 51] ....
Programming Style: Braces
"Allman" brace style: braces line up
public String sayHello() { return "Hello, " + name + "!"; }
"Kernighan and Ritchie" brace style: saves a line
public String sayHello() { return "Hello, " + name + "!"; }
previous
|
start
|
next
.... [Slide 51] ....