16 lines
407 B
Java
16 lines
407 B
Java
// housekeeping/BananaPeel.java
|
|
// (c)2016 MindView LLC: see Copyright.txt
|
|
// We make no guarantees that this code is fit for any purpose.
|
|
// Visit http://OnJava8.com for more book information.
|
|
|
|
class Banana { void peel(int i) { /* ... */ } }
|
|
|
|
public class BananaPeel {
|
|
public static void main(String[] args) {
|
|
Banana a = new Banana(),
|
|
b = new Banana();
|
|
a.peel(1);
|
|
b.peel(2);
|
|
}
|
|
}
|