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 MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER PROFESSIONALS
Which sorting algorithm is used by collections.sort() in java ?
How is hashset maintained in memory by java ?
Which interface does java.util.hashtable implement?
Hi frnds how to lock an user when he enter wrong credentials more than 3 time using java or j2ee tech take username and password in a bean no need to connect DB and validate give me some sample application code or links its urgent for me thanks in advance
What are maps interfaces in the java collections? : java collections
What do you understand by synchronization? Why is it important?
What are the types of the main implementing classes in the map interfaces? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
In hyderabad, which s/w training center is best for java, other than corejava what r the new tools to learn in java,which tool is best & have current requirement,pls give me information about java to learn ?
What is an algorithm in java collection framework? : java collections
What is the use of hashcode in java ?
Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.
my interviewer asked me what technical specification you used how to answer that question
please mail me the interview question based on java/j2ee