What are init(), start() methods and whey they are called?
Answers were Sorted based on User's Feedback
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 the legal operands of the instanceof operator?
How can two threads be made to communicate with each other?
What is the difference between the boolean & operator and the && operator in java programming?
How is the marker interface used in Java?
What is constructor and virtual function? Can we call a virtual function in a constructor?
Why is it called boolean?
What do you mean by hashing?
What is ternary operator in java?
Can we use String with switch case?
What does index mean in java?
Is null == null in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?