in Interface the instance variables are final, right?So what happens in this code?
posted 6 years ago
You already said that k is static. It's static to foo though, so foo.k is valid. Class Test inherits this static field because of the implementing of foo.