what are the types of constructer explain with example
Answer Posted / kailash
there are two types of Constructors .
1. Parameterized Constructor inwhich we give arguments .
2. Default constructor , there no argument is given .
for each class there must be a defult constructor .
Is This Answer Correct ? | 14 Yes | 2 No |
Post New Answer View All Answers
What is transient in java?
what is reflection api? How are they implemented?
What is cookie in java?
What are jdk tools?
What is dto in java?
Why is struts used in java?
What do I need to install netbeans?
Why we use beans in java?
What is profile in java?
can anyone tell me what kind of questions are asked for core java exam in aptech
What is class forname java?
When a thread is created and started, what is its initial state?
What is cloning in java?
What is the most important feature of java?
How do I run a project in netbeans?