• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Immutable object.

 
Rajkamal Pillai
Ranch Hand
Posts: 445
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

How does one make an object immutable? I was asked this question during an interview.

Thanks,
Raj.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic