where do we use init()

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is {a, n, d} a palindrome? If you are given a random string, is it a palindrome or not?

625


Hi all, I am dng a mini project on FileSplitter application which splits the GBs of logfile into Smaller chunks(mbs) depending on the split size." How to handle GBs file? I am getting OutOfMemoryException, when I input such GB sized file. Thx

1610


What is the difference between java applets and applications?

571


What is the difference between state-based unit testing and interaction-based unit testing?

497


Can we inherit a class with private constructor?

578






How use .contains in java?

626


Can you achieve runtime polymorphism by data members?

593


Why is serialization required?

548


What is toarray method in java?

562


What is meant by design patterns?

590


Explain the use of sublass in a java program?

599


What is byte value?

559


Why chararray() is preferred over string to store the password?

532


Can a class have 2 constructors?

504


Is main is a keyword?

585