Current Affairs 2021 PDF

To crack any competitive exam like SSC, Railways, Insurance, UPSC, CLAT, Banking, State PSC Exams and other exams it is very important to answer all current affairs questions correctly. Gkseries Updates Current Affairs and Q&A packages in compiled and sorted topic wise to ensure easy accessibility of the information.

Buy Now

Question

Which of the following will be used to print your name in an applet?

A drawText (myName)
B drawLine (myName, 10. 10)
C drawLetters (10, 10, myName)
D drawString (myName, 10, 10)
Answer & Explanation
Option: [D]

drawString is a Graphics class. It called within update() or paint() method to print a string to the applet window.

Month-wise Current Affairs 2021

Category-wise Current Affairs

Jobs by Qualification

Free Mock Test