string is immutable? right every one knows that, my
question is it advantage or disadvantage making string
immutable?
Answer Posted / prashant renge
It is advantage,
because String is standard class,if it is muttable
behaviour is inconsistant.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Can the garbage collection be forced by any means?
How does linkedlist work in java?
What is this keyword used for?
What’s meant by anonymous class?
What is functional interface in java?
How do you convert an int to a string in java?
What is a buffer in java?
What is java thread dump, how can we get java thread dump of a program?
Define locale.
What is difference between equals and hashcode method?
Give me some null interfaces in java?
What is thread start?
How do you find the maximum number from an array without comparing and sorting?
Why object class is super class for every class in java?
What differences exist between iterator and listiterator?