I want to have the following setup:
abstract class Parent {
public static String ACONSTANT; // I'd use abstract here if it was allowed
// Other stuff follows
}
class Child extends Parent {
public static String ACONSTANT = "some value";
// etc
}
Is this possible in java? How? I'd rather not use instance variables/methods if I can avoid it.
Thanks!
EDIT:
The constant is the name of a database table. Each child object is a mini ORM.