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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / durga ganesh reddy

yes,above answer is correct answer.

Is This Answer Correct ?    4 Yes 2 No

Post New Answer

More Core Java Interview Questions

Who found java?

0 Answers  


What is the purpose of sizeof operator?

0 Answers  


can we have virtual functions in java?

11 Answers   Wipro,


Is null a string or object in java?

0 Answers  


Why is flag used in java?

0 Answers  






In how many ways we can the thread? in java

3 Answers  


what state does a thread enter when it terminates its processing? : Java thread

0 Answers  


What is the size of int?

0 Answers  


What is the difference between Java Bean and Java Class.?

2 Answers  


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

0 Answers  


why abstract class does not have object creation

6 Answers   Value Labs,


Why char array is favored over string for the storage of passwords?

0 Answers  


Categories