Which package in Java contains the gc() method?Show AnswersChoose the correct answerjava.io packagejava.lang packagejava.awt packagejava.util packageExplanationThe gc() method, used to request garbage collection, is part of the java.lang package in Java.