Are there two identical keywords in Java?
Because we use the "default" keyword as an access specifier, and it can be used in switch statements for completely different purposes, I'm curious that any other keyword in Java can be used for multiple purposes
Solution
>Default can be used either in switches or in comments (as bozho pointed out) > final means "cannot be overwritten from /" and "read-only". They are two different but related meanings (as Jon pointed out) > extends can be used to specify the supertype of a class, It can also be used for wildcard and type variables to place constraints (related but not identical) (list ) > Super can be used to specify some content in the superclass of the current class, Or used to specify wildcards to place constraints (list ) > static means "part of a class, not an instance" (for methods, attributes or initializers) and static import > class declares a class (class foo {}), Or reference a class text (foo. Class) (answered by ilmtitan) > (it can be used for ordinary for loops and "enhanced" for, but it is more like overloading (as bozho said) than really having two meanings)