Package of drawstring() method is _________________?
Correct answer: A. java.awt
- A. java.awt
- B. javax.swing
- C. java.applet
- D. java.io
Explanation
drawString() is a method of Java's Graphics class, which belongs to the java.awt package. Swing and applet packages may use graphics, but they do not define this method's package.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Web and Mobile Development
268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Web and Mobile Development questions
x=x+1 is equivalent to _________________?
JAR file contains the compressed version of_________________?
Which of the following statements about XML schemas is incorrect ?
Which of the following below are valid isolation levels in J2EE ?
Program which executes applet is known as________________?
Executable applet is_________________?