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 a java executable jar file?
How do you create a jar file?
What is a jpa repository?
In an htm form i have a button which makes us to open another page in 15sec.how will you do that?
What's the difference between authentication and authorization? : java security
Do I need both jdk and jre?
How to reverse the singly linked list(In Node data members are(int data,int pointerTONext))
In system.out.println(), what is system, out and println?
What is javacpl?
What is the difference between Logical Parallelism and Physical Parallelism?
What are anonymous methods and lambda expression?
What is the difference between deep copy and shallow copy in java
How can the static main method use instance variables?
What is spliterator in java se 8?
What do you mean by exception handling?