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 |
What are the difference between RMI and Servlets?
What is the need of session tracking in web application?
Which http method is said to be non-idempotent and idempotent?
Difference between httpservlet and generic servlets?
Which method the Servlet container call to create the instance of the servlet?
16 Answers emc2, JK Technosoft,
What is the disadvantage of cookies?
Explain the steps involved in placing a servlet within a package?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
Which is the methods of generated servlet?
What is servlet name in web xml?
What is session?
Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?