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 |
When should I use singleton pattern?
What is the difference between overriding & overloading?
Is 0 a real number?
Why is singleton not thread safe?
Why java is object oriented?
What modifiers are used with an inner class which is a member of an outerclass?
How do you override a variable in java?
What is the use of conditional statement?
Is a method a function?
Differentiate constructor and a method and how are it be used?
What is native method in java?
What will happen when using pass by reference in java?