Tuesday 8 April 2014

Understanding get and set

Understanding  get and set



NOTE:

It is possible to validate the data with 'set' . But 'public' data cannot be validated. 
This example will help us to understand get/set.


EXAMPLE : Program for get and set.







OUTPUT:







No comments:

Post a Comment

Chapter : 1 - First code in Node JS Previously I have written a blog about Getting Started with Node JS and its installation. Now lets s...