This is an update of the same question, which is partly solved. 

[Java - Object properties does not differ](https://stackoverflow.com/questions/13192965/java-object-properties-does-not-differ)

```
int size = 0;
int new = 10;
int default = 100;

ClassList filterList = new ClassList();
filterList.setSize(size);
filterList.setNew(new);
filterList.setDefault(default);

```

// Now i am creating another instance of the ClassList. 

```
ClassList newList = ClassList(); 

```

Its strange that my newList has values of `size, new and default`, but with values as `0, 0 and 0` I tried to check whether the instances are same or not. 

```
if(filterList .equals(newList)){
    Log.d("Is it equal","True");
    } else {
    Log.d("Its Not equal","false");
}

```

**I got it false.**

My POJO class is plain simple with getters and setters. 

```
public class ClassList{

    private int size;
    private int new;
    private int default;

    public int getPageSize() {
        return size;
    }
    public void setPageSize(int size) {
        this.size = size;
    }
}

```