What compiler do not do if we create our own constructor?

Answer Posted / gaurav

Every class have an at least one constructor so if user not
created any constructor then compiler automatically create
default constructor and call its super class. If we create
our own constructor then compiler does not create
constructor for our class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between GenericServlet and HttpServlet?

732


What is Servlets and explain the advantages of Servlet life cycle?

798


Explain their methods? Tell me their parameter names also have you used threads in servlet?

776


What do you mean by url pattern in servlet?

814


Write a program to show the functionality of servlets.

729


What is http servlet?

769


What do you mean by scope object and what are its types?

759


What is the requirement of servlet config and servlet context implemented and how are they implemented?

731


How can the session in servlet can be destroyed?

883


Write a simple servlet program to print the contents of html.

762


Explain Action Servlet?

805


What is the inter-servlet communication?

904


What are the types of Session Tracking ?

827


How can we implement a jsp page?

837


What is Client-Server Computing?

2071