Answer Posted / guest
constructor is special method with the class name and
without any return value.
whenever the object is created the constructor is called
automatically according to the argument passed.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Why java is considered as platform independent?
what is the difference between process and thread? : Java thread
Define Multiprogramming and Multiprocessing in java.
What does this () mean in constructor chaining concept?
Why java is call by value?
Is set ordered?
What are runtime exceptions?
What are dot operator queries?
How to sort an array in java without using sort method?
How does queue work in java?
What is set string?
What is number data type?
Define reflection.
Explain the difference between serializable and externalizable in java?
How transient variable is different from volatile variable?