Jump to content

Talk:Intentional programming

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ged Byrne (talk | contribs) at 09:30, 1 December 2004. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Here is a Java class that, when saved to the file WhichI.java, will compile and illustrate the point being made correctly.

public class WhichI { public static String i = "am canadian"; public static void main(String[] args) { for (int i = 1; i <= 10; i++) { System.out.println(i); } System.out.println(i); } }

I think that the none functioning example in the text should be replaced with this one.