Bill Pugh wrote:
> Unfortunately, answer (d) is also possible under the existing semantics:
> >d) prints x = 1, y = 0
Can you explain why this is possible, but b) and c) aren't ??
David
+---------------------------------------------------------------+
| Dr David Holmes | Email: dholmes@dltech.com.au |
| Director & Chief Scientist | Phone: +61 (0)7 3387 7701 |
| DLTeCH Pty Ltd | Fax: +61 (0)7 3387 7700 |
| Brisbane, Australia | |
+---------------------------------------------------------------+
-------------------------------
JavaMemoryModel mailing list - http://www.cs.umd.edu/~pugh/java/memoryModel
This archive was generated by hypermail 2b29 : Thu Oct 13 2005 - 07:00:38 EDT