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 does a boolean method return?
Can we assign null to double in java?
Difference between object instantiation and construction ?
What is arraylist e in java?
What is threaded programming and when is it used? : Java thread
How can you read an integer value from the keyword when the application is runtime in java? example?
Why we use methods in java?
Does windows 10 need java?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is the formula to calculate percentage?
Are arrays dynamic in java?
What is mysql driver class name?
Can keyword be used as identifier?
What is a Null object?
what r advatages of websphere? & how to deploy?