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
Hi Friends, i have searched in google but not clear. can you give bank example with synchronized keyword
What are the differences between the java collection and the java list? : java collections
What are the main classes of the list interfaces? : java collections
What is the use of the list interface in the java collection? : java collections
What are the different types of classes implemented in the set interfaces? : java collections
what is mean by hasing and maping in java platform and advantage?
Which interface does java.util.hashtable implement?
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 types of interface used in the java collections? : java collections
What are the uses of the set interfaces in the java collections? : java collections
What is the Spring2.5 MVC Navigation flow?
What are the types of java collections? : java collections
Explain the OOPS concept in Realtime Scenarion ? Take example as CAR. Please explain indetail ?
Which java collection class can be used to maintain the entries in the order in which they were last accessed?
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 ?