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
What is the purpose of using break in each case of switch statement?
What is the purpose of garbage collection in java?
What is the maximum size of array in java?
What's the difference between comparison done by equals method and == operator?
What are keywords in java?
what is session in java?
Difference between linkedlist and arraylist.
What is the program development process?
What is the difference between the direct buffer and non-direct buffer in java?
What is quick sort in java?
Explain the access modifiers for a class, method and variables?
What is class level lock ?
What is the largest data type in java?
Is there any difference between nested classes and inner classes?
Is int a class in java?