Originally posted by Salim Mohamed:
I have many times come across the word handle or handler while studying java programming book. How can I better understand what handle or handler means ? Thanks in advance.
Hi Salim;
both words usually refer to "Exception Handling" and so I would suggest you study about Exceptions which is Section 2 of the Java Certification Objectives.
let me give you an example of a "handler":
The words "handle" and "handler" are not Java Keywords or Reserved words. These words are adjectives used to describe what we do with "exceptions" when they happen with the try-catch-finally code blocks.
The catch block is used to "handle" (verb -meaning do something with) an exception. We say that a catch block is a "handler" (noun).
Hope this helps!