Re: [OT] a java question

2005-01-26 Thread jlopez
Well, i put the main for the example... but you need the class Perro before you get the constant value i Hope some like this. Perro.setLoadMethod(theInitval); then su can obtain Perro.CONSTANT.uni.. Cordial Saludo John J López > Hi > how will this class work if there is no public sta

Re: [OT] a java question

2005-01-26 Thread jlopez
i don't not it this is a good practice. . Maybe it's a bad practice but.. but this work and int this way you can mantain the constants public static and final . the other problem is tha if you get the value of the constant before yo initialize you allways obtain a null value well sorry fo