-
Moderator
Constructor in place of init() method
Can we put costructor in place of init() method?
Note : [This question was asked by badari, I am posting it in proper forum]
-
Junior Member
Re: Constructor in place of init() method
no,
we cant provide constructor in place of init(), because the serrvlet is executed ny container not by the JVM, container always seeks for init() and executes init() but not constructor()
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules