I'd say 1, though that answer could also apply to a class. 2 is more correct for an interface, but I think a case could be made to have it apply to a method. Division by zero, out of cheese error, universe halted.
i would say 2. Because classes are implementation of abstraction. Variables define the Properties of a class. Methods definte the Behaviour of a class. -Aj [This message has been edited by Aj Patel (edited January 07, 2001).]
Agreed 2. Methods can be considered as the counterparts of functions of procedural languages. Methods operates upon the data (fields) of a class and hence defines the behaviour of the class. Kalidas
My, my, aren't you a big fella. Here, have a tiny ad: