nerhael
05-20-2003, 05:29 PM
Okay, first question:
Can an object have a static constant like in Java?
Second:
Can you instantiate an object variable to something outside of the constructor? So that when you create the object, with an empty constructor method, it might already have default values?
Thinking about this, I think my first question is more what I want. I want to be able to find the value of a variable in an object when all I have is it's classname.
Pete.
Can an object have a static constant like in Java?
Second:
Can you instantiate an object variable to something outside of the constructor? So that when you create the object, with an empty constructor method, it might already have default values?
Thinking about this, I think my first question is more what I want. I want to be able to find the value of a variable in an object when all I have is it's classname.
Pete.