What is the difference between constructor and method?
Answer Posted / pinky
Constructor doesnt return anything. where as method may or
may not return data or value
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What types of index data structures can you have in java?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What are the kinds of polymorphism?
Is string a class?
Is singleton set an interval?
Which java ide is used the most?
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).
How do you find the independent variable?
What does @override mean?
What technique can be employed to compare two strings?
What is a generic type?
Why do we use string?
What are multiple inheritances? Is it supported by java?
Can we overload the main() method?
What is substring in java?