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
Is char * a string?
Can we override constructor?
What is string :: npos?
What is string and example?
Explain list interface?
What is the purpose of java?
What is the set interface in java programming?
What is arguments in java?
What are the types of web technologies?
What is an exception in java?
Is empty .java file name a valid source file name?
What are white spaces in java?
What does string intern() method do?
What is codebase?
When can you say a graph to be a tree?