CodesJava

Easy learning with example program codes

what are mutable and immutable objects in java?


Immutable objects

Immutable objects are like constants. We cannot modify them once they are created. They are final in nature.

Mutable objects

Immutable objects are like variables. We not modify them once they are created. They are not final in nature.

Java interview questions on string handling

Please follow and like us:


Copyright © 2019 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki