Explain role of constructor in a java application?
Answer Posted / harsh
Constructor is "object creator".
its role is to create objects thats it.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is size () in java?
What is predicate in java?
What is the common usage of serialization?
How do you declare a string variable?
What is the function of http?
Can a constructor call the constructor of parent class?
State the difference between creating string as new () and literal.
What are constructors in java?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
How to obtain a performance profile of java program
How do you check if an arraylist is not empty?
Does isempty check for null?
What is the difference between ArrayList and Vector? which one is better in Java
what is collatration?
How to declare objects of a class ?