Results 1 to 2 of 2
  1. #1
    JUser is offline Member
    Join Date
    Sep 2010
    Posts
    5
    Rep Power
    0

    Question Immutability compromised if 'final' is omitted?

    Hello


    I don't understand the concept of the following:

    Q. "Your immutable system will be compromised if you don't make your classes 'final'."

    Can someone explain this to me please (with a concrete example)?
    Thanks.

    Regards,

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,097
    Rep Power
    20

    Default

    Have you considered doing some research yourself instead of chucking a load of questions at the forum?

    If you have, then what do you think it means?

    We're not here to do your homework for you...

Similar Threads

  1. Final int
    By Fireking in forum New To Java
    Replies: 12
    Last Post: 06-22-2013, 05:44 PM
  2. what is the use of final keyword
    By sumanandjesus in forum Advanced Java
    Replies: 9
    Last Post: 03-27-2009, 12:50 PM
  3. GUI Final Project help
    By Unknown in forum New To Java
    Replies: 21
    Last Post: 12-30-2008, 07:58 PM
  4. [SOLVED] is final class members are also final ?
    By haoberoi in forum New To Java
    Replies: 4
    Last Post: 11-10-2008, 03:01 PM
  5. Poi 3.0-final
    By levent in forum Java Software
    Replies: 0
    Last Post: 05-22-2007, 07:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •