What compiler do not do if we create our own constructor?
Answers were Sorted based on User's Feedback
Answer / purnima
the compiler does not create a default constructor if we
create our own constructor
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / qim2010
The compiler check the java code. If it founds no constructor for the class then JVM automatically creates the default constructor.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / 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 |
How can you use a servlet to generate a plain text instead of html?
which type of data passing is used in realtime?
What is ServletContext object?
What is Servlets and explain the advantages of Servlet life cycle?
What is servlet container?
What is called Scriptlet?
Difference between java beans & servlets?
How servlet is created?
How to commuincate between an applet and a servlet?
What is the difference between forward () and sendredirect () functions in servlet? Explain
what is the difference between servlets and struts?
how a servlet is instantiated, whether the container calls init() or by calling any other method? please somebody reply..