No. They are completely different. Some syntax may be similar.
The enableEvents() method is used to enable an event for a particular object. Normally, an event is enabled when a listener is added to an object for a particular event. The enableEvents() method is used by objects that handle events by overriding their event-dispatch methods.
The Set interface provides methods for accessing the elements of a finite mathematical set. Sets do not allow duplicate elements.
An I/O filter is an object that reads from one stream and writes to another, usually altering the data in some way as it is passed from one stream to another.
The == operator compares two objects to determine if they are the same object in memory. It is possible for two String objects to have the same value, but located indifferent areas of memory.
Webmaster 20th of May 2012
Tell us what you feel about Basic and Advance Java Interview Questions and Answers
All comments will be published after review. No login or registration is required to post a comment on Basic and Advance Java Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
So start sharing your thoughts regarding Basic and Advance Java Interview Questions and Answers
Thank you.