Which package contains the drawstring() method?

Choose the correct answer

Explanation

The drawstring() method is part of the java.awt package, which provides classes for creating user interfaces and graphics.

Which package contains the drawstring() method? — Java concepts and its programming | PakQuizHub