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

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.

2083


What is the Spring2.5 MVC Navigation flow?

6478


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

1165


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

1006


What are the types of java collections? : java collections

1091


what is mean by hasing and maping in java platform and advantage?

2443


What are the different types of features of the java collections framework? : java collections

1167


Which java collection class can be used to maintain the entries in the order in which they were last accessed?

1098


What are the different types of ways where you can iterate over a list? : java collections

1097


Which server-side script takes the input from JavaScript, can access the database if it needs to, and processes the data.

2165


What is java collection? : java collections

1172


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

1111


What are the queues in the java collection framework? : java collections

1057


What is the use of hashcode in java ?

1162


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

1101