Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.
You have created a simple Frame and overridden the paint method as follows public void paint(Graphics g){ g.drawString("Dolly",50,10);}What will be the result when you attempt to compile and run the program?
B) An error at compilation complaining at the signature of the paint method
C) The lower part of the word Dolly will be seen at the top of the form, with the top hidden.
D) The string "Dolly" will be shown at the bottom of the form
Related Answered Questions
Related Open Questions