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 setstring method in java?
I run a web server. Am I at risk? : java security
What is the content reside in Use case Document?
What is java flatmap?
How can c# app request minimum permissions? : java security
What is serializable in java?
How do I open the java console in windows 10?
What is javabeans api?
Can the main method be overloaded?
What are the types of cookies in java?
What are the authentication modes in asp.net? : java security
What is lambda used for?
Can java program run without jdk?
Can we write lambda without functional interface?
Who developed rxjava?