Converting wrapper object into primitive data type

var i = id.valueOf();

Here id is of type Number . That is class in itself. Now we want to convert it into primitive int type

By Pankaj Kumar Agarwal

Leave a reply:

Site Footer