| [ next ] [ prev ] [ contents ] | Connascence and Java |
Connascence of type occurs whenever two components must agree on the same type.
| => |
|
void doSomething (int[] numbers) { ... }
...
Vector v = new Vector();
...
doSomething(v); // oops
|
| [ next ] [ prev ] [ contents ] | Copyright 2001 by Jim Weirich. All rights reserved. |