What packages does 1) Java and 2) Groovy automatically import?

AFAIK, java only imports

java.lang.*

wheras groovy imports:

java.io.*
java.lang.*
java.math.BigDecimal
java.math.BigInteger
java.net.*
java.util.*
groovy.lang.*
groovy.util.*

According to https://groovy-lang.org/differences.html#_default_imports


In Java, the only package imported by default is

java.lang.*

This is where objects such as String and Object reside.

According to here, the list of packages for groovy are

java.io.*
java.lang.*
java.math.BigDecimal
java.math.BigInteger
java.net.*
java.util.*
groovy.lang.*
groovy.util.*