Q141. What is the difference between static and non-staticvariables?
A static variable is associated with the class as a whole rather than with specific instances of a class. Non-static variables take on unique values with each object instance.

Q142. What is the difference between the paint() and repaint() methods?
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.

Q143. What is the purpose of the File class?
The File class is used to create objects that provide access to the files and directories of a local file system.

Q144. Can an exception be rethrown?
Yes, an exception can be rethrown.