where do we use init()

Answers were Sorted based on User's Feedback



where do we use init()..

Answer / yashwant

init() func is not only used in applets but it also used in
Servlet to initialized Servlet Program(Configured Servlet)
init()Called only once during the initialization of the Servlet.

Is This Answer Correct ?    6 Yes 1 No

where do we use init()..

Answer / guest

init() func is used in applets it is a method of applet
class and we need to override this method...

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Core Java Interview Questions

According to java operator precedence, which operator is considered to be with highest precedence?

0 Answers  


What is return data type?

0 Answers  


Can an interface be final?

0 Answers  


Why generics are used in java?

0 Answers  


What does it mean to flush a file?

0 Answers  






What is default constructors?

0 Answers  


What are local variables?

0 Answers  


What is exception and error? and what is the difference between them?

2 Answers  


Explain the scope of a variable.

0 Answers   TCS,


Why is java logo a cup of coffee?

0 Answers  


What are the topics in core java?

0 Answers  


What is the difference between preemptive scheduling and time slicing?

0 Answers  


Categories