What are init(), start() methods and whey they are called?

Answer Posted / sumit bansal

init() this method belog to servlet and is executed when
the container loads the servlet first time.

start() method belongs to thread and is called by
programmer to start the thread.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In java, how we can disallow serialization of variables?

552


What is the full meaning of java?

532


Say any two properties in beans?

633


What is the main functionality of the remote reference layer?

1413


What is meant by 'Class access modifiers'?

551






What is independent and dependent variables in research?

468


How do you use compareto method?

530


Why call by value prevents parameter value change?

583


What is tree in java?

489


Does the order of public and static declaration matter in main method?

615


Can we catch more than one exception in single catch block?

599


How use .contains in java?

621


Explain spliterator in java8?

599


What do you understand by synchronization?

593


What is the meaning of I ++ in java?

605