Answer Posted / diya
constructor is a special function whose task is to
initialise the object.the name of the constructor is as
same as the class.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can inner class have constructor?
What is the difference between throw and throws in java?
In how many ways we can do exception handling in java?
Why Java doesn’t support multiple inheritance?
What is the use of set in java?
How do you check if an arraylist is not empty?
How to perform bubble sort in java?
What is not object oriented programming?
What is thread start?
Explain about arraylist?
How many bytes is a unicode character?
why would you use a synchronized block vs. Synchronized method? : Java thread
how to write a server program and sending the mails to the server using smtp protocol please help me
Can we overload the main() method?
What are the different ways to handle exceptions?