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 lsdou? : java security
Does ms edge support java?
Who is at risk in java? : java security
Explain the reason for each keyword of public static void main(string args[])?
What is java persistence api used for?
Why java?
What is jersey in java?
What is a service layer in java?
How do I create an executable jar file?
What is Map,List,hashtable,ArrayList and difference between them??
What is tight coupling in java?
Please can anybody explain what exactly "the project architecture" means???
Does netbeans need jdk?
Is eclipse a jdk?
What is meant by pass by reference and pass by value in java?