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

What are the legal operands of the instanceof operator?

0 Answers  


How can two threads be made to communicate with each other?

3 Answers   HCL,


What is the difference between the boolean & operator and the && operator in java programming?

0 Answers  


How is the marker interface used in Java?

0 Answers   BirlaSoft,


What is constructor and virtual function? Can we call a virtual function in a constructor?

0 Answers  






Why is it called boolean?

0 Answers  


What do you mean by hashing?

0 Answers   Amazon,


What is ternary operator in java?

0 Answers  


Can we use String with switch case?

0 Answers  


What does index mean in java?

0 Answers  


Is null == null in java?

0 Answers  


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

0 Answers  


Categories