Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Gail Knight   on Jun 14 In Java Category.

  
Question Answered By: Emma Campbell   on Jun 14

I have very little knowladge regarding it. I heared
String is an Immutable class thus objects are
unchangable. So whenever an attempt is made to modify
a String object, a new object  is created in a new
memory location. But I don't know how can I create  my
own immutable class and what is the usage of creating
such classes? I'll be greatful if anybody of the group
can answer.

Share: 

 

This Question has 8 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on String Object Or get search suggestion and latest updates.


Tagged: