In this we did not need to call the getter method as a function, We just need to use it as a variable of the object only.
In this, If you have created a getter method only then we can get the value of the object only, We can not set the values by declaring the setter method in the object.
To make it work, We need to define the setter method as well.
As we can check that fullname is virtual property of the object, With the help of the getter and setter, it is readable and writeable now.
now. Read More