Java has some features Go does not and vice versa. So, before we look at the Java features that have some equivalent in Go, let us look briefly at the ones Go does not have. Not every possible feature Java has that Go does not have can be listed, but some key ones are summarized in the following.
Note that many of the Go “missing” features were omitted deliberately to keep the language simple and efficient, not because they were hard to provide. This is considered a virtue.