Answer Posted / venkatachalapathy
string is a immutable object i.e once the object is created
it cannot be modified. if we try to modify it creates
another new object
Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
Define how can we find the actual size of an object on the heap?
Which api is provided by java for operations on set of objects?
What is the parse method in java?
What is codebase?
How would overload a function based on return type?
Can you extend singleton class?
What is data and its types?
What is nested top-level class?
Is .net better than java?
What is boolean false?
What are design patterns and please explain?
Explain differences between checked and unchecked exceptions in java?
What is a stringbuilder?
What is jpa specification?
Can a constructor call another constructor?