what are callback methods?

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


Please Help Members By Posting Answers For Below Questions

please mail me the interview question based on java/j2ee

1537


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

2542


How is hashset maintained in memory by java ?

595


What is java collection? : java collections

585


What are the types of interface used in the java collections? : java collections

591






who will give req's to u?. how they send req's to u? . what design documents contains?. when bugs raised on other developer code how to report to them?.(throgh mail or ........). how to retrive 100 recods from dao layer to presentation layer.using which collection?. what is sequence diagram.?.

1820


my interviewer asked me what technical specification you used how to answer that question

1935


What are the differences between the java collection and the java list? : java collections

617


What are the types of java collections? : java collections

547


What is the enumerator of the java collection framework? : java collections

567


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.

1592


Should we create system software ( e.g operating system ) in java ?

580


What are maps interfaces in the java collections? : java collections

575


Which interface does java.util.hashtable implement?

679


Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?

2567