Ok, for a final variable... If I declare it as a class member and dont assign it a variable then I can only declare it in a constructor? Ok, if I declare it static do i have to give it a value then cause I cant seem to assign it a value anywhere else.
posted 14 years ago
Hi Anthony, you can use a static initializer. See sample code below: