Talk:Learning Java/Objects and Classes

almost every example and answer on this page has errors when compiled, will someone with some java experience please work through this page and fix the errors? -- Koolaidman  Talk Contribs 19:20, 15 February 2007 (UTC)

Yes,

public int returnsInt {   return 5; }

or similar things cannot work, because you would need a class, and a main methode from witch you can call it. They are just examples how you would use them in a programm, with other context. Al-20 11:07, 30 May 2007 (UTC)