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
What is native class in java?
How does jpa repository work?
What is java flatmap?
How do I install java on windows?
What is resultsetmetadata in java?
How do I create an executable jar file?
What is a java singleton?
What is the difference between jar and executable jar?
What is java web application?
Which method is used to create the daemon thread?
What is the difference between a jvm and a jdk?
What do you understand by numeric promotion?
How do I install eclipse?
What is meant by annotations in java?
What is the first argument of the string array in main method?