what is constructer?what are the type of constructer with
example.
Answer Posted / sunil prasad
Constructor is a specail type of mrthod.constructor name
should be same with the class name
There is defferent type of construtor:-
default constructor
parameter constructor
default construtor automatically call when we create
object of class.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
How do I install java on windows?
Which version of my browser should I use? : java security
What is the difference between Logical Parallelism and Physical Parallelism?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i What is interceptors in java? Is lambda functional programming? What is an interceptor in java? How do I run a java program from the command line? What is difference between map and flatmap in java 8? Explain working of java virtual machine (jvm)? What is jpa implementation? What are the advantages of java 8’s date and time api over old date api and joda time api? What is the difference between a while statement and a do statement? What is static class in java?