Answer Posted / robz
This type of methods are generally called by the container,
the developer does not need to call these methods
explicitly. Most of the languages specifies the callback
method by passing the address of the subroutine to the
system to the request is calling back from, But java
performs the same thing by using interfaces. Java does not
allow passing the address of subroutine but allows passing
an instance of a class that implements the standard
interface. For this purpose anonymous classes are mainly
used as they support a better compact definition of the
class that is required as a new class.
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How do I find jre path in windows?
What are the types of java collections? : java collections
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
Hi Friends , am newbie to ajax. For example just consider one account registration - A form contains 8 text fields with submit button. In this form second texbox contains "username " . On right side of text box there is a label box . On clilck action i need to determine user is available or not. Is it possible on clicking label or should i click submit button.
What are maps interfaces in the java collections? : java collections
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
What is the difference between comparable and comparator in java.util pkg?
What are the different types of classes implemented in the set interfaces? : java collections
What do you understand by synchronization? Why is it important?
How is hashset maintained in memory by java ?
What are the main classes of the list interfaces? : java collections
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
What is java collection? : java collections
Hi we have an urgent requirement for Java/J2ee technical lead position & also looking for "Java Guidewire claimcentre" experienced professional for Bangalore location if interested can reach srisanh@gmail.com
What are the classes in the java collection framework? : java collections