thanks for correcting me,I have read the article, so here is my questions
Below I have written the immutable class, Please let me know
1) Whats wrong in my code
2) how may i test my immutable...
Type: Posts; User: dhasija
thanks for correcting me,I have read the article, so here is my questions
Below I have written the immutable class, Please let me know
1) Whats wrong in my code
2) how may i test my immutable...
This is my code only, i need to know two things
1) Whats wrong in my code
2) how may i test my immutable class
import java.util.*;
import java.util.Map.Entry;
public final class...
That exactly was my question how may I test it if the above class is immutable or not
immutable object (it cannot be changed once it's created). you mau always correct me if im wrong
I have make the immutable class as below, Now my question is how I can test if my this class/object is immutable
package com.learning;
import java.util.*;
import java.util.Map.Entry;
public...