I am trying to print the variable in show() method. But in every time it is showing default value like for string NULL and for integer 0. I took a parameterize constructor.