Basic and Advance Java Question: Download Questions PDF
What is the difference between the paint() and repaint() methods in Java Programming?
Answer:
The paint() method supports painting via a Graphics object. The repaint() method is used to cause paint() to be invoked by the AWT painting thread.
Download Java Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the difference between static and non-static variables in Java Programming? | What is the purpose of the File class in Java Programming? |