Can we define constructors in Servlet?

Answer Posted / sitaram

Each every class execute in java. One default constructor or
define constructor must be calling. If you are not any
constructor write in your class. when execute the program ,
JVM automatically create the default constructor.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a class loader?

573


What modifiers may be used with an interface declaration?

548


If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?

1726


What is table mutation and how do you avoid it?

1903


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2145






What are the benefits of detached objects?

573


What is the form of storage space in java?

1722


What are the services in RMI ?

1872


How task's priority is used in scheduling?

1766


What happens when a thread cannot acquire a lock on an object?

527


Explain the difference between object state and behavior?

555


what is handle?

1838


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

1619


Have you used threads in Servelet?

1923


What is message driven beam?

571