sadstephen
sadstephen
JCHJava Community | Help. Code. Learn.
Created by sadstephen on 1/19/2025 in #java-help
Can I make a superclass's variable static final in subclass?
I think about is not static variables in superclass User.
21 replies
JCHJava Community | Help. Code. Learn.
Created by sadstephen on 1/19/2025 in #java-help
Can I make a superclass's variable static final in subclass?
Thank you for your time. ❤️
21 replies
JCHJava Community | Help. Code. Learn.
Created by sadstephen on 1/19/2025 in #java-help
Can I make a superclass's variable static final in subclass?
or encapsulation or something 😦
21 replies
JCHJava Community | Help. Code. Learn.
Created by sadstephen on 1/19/2025 in #java-help
Can I make a superclass's variable static final in subclass?
is it called polymorphism?
21 replies
JCHJava Community | Help. Code. Learn.
Created by sadstephen on 1/19/2025 in #java-help
Can I make a superclass's variable static final in subclass?
I just want to understand what is the effect of doing that - we have a definition of instance variable about in superclass; then in subclass we are creating a static variable in the same variable name.
21 replies