Hey guys

I learned java programming (because I had to, university) and one thing I really liked about the language is that you could create static variables and methods. These are not associated to individual objects but with the class as a whole.

Does someone know which version of Delphi (and up) supports this? And what about FPC?

I'd like to use this, but because I want to keep my code Delphi and FPC compatible, I'm not sure if this will be possible. Does anyone know more 'bout this?

Thanks