Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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

3056


What are the types of java collections? : java collections

1049


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

2349


What is the Spring2.5 MVC Navigation flow?

6409


What is the use of hashcode in java ?

1102


What do you understand by synchronization? Why is it important?

1063


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

1037


can u draw class/object diagram for ATM

6104


What are the different types of classes implemented in the set interfaces? : java collections

1065


What is an algorithm in java collection framework? : java collections

1059


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

1065


What are the uses of the set interfaces in the java collections? : java collections

968


Which sorting algorithm is used by collections.sort() in java ?

936


What is java collection? : java collections

1117


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 ?

2167