Explain role of constructor in a java application?
Answer Posted / harini
The main purpose of construtor is to initialize instance
variables.
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is the difference between stringbuffer and stringbuilder class?
What does exp mean in math?
What is arrays aslist in java?
What is a module function?
Is 0 true or false in java?
Why is logger singleton?
Explain super keyword in java.
Why are constructors used?
Can we force the garbage collection to run?
What is static class
Is null a string in java?
What is difference between path and classpath?
Can we override private method?
Which eclipse is best for java?
What is string builder?