
Using Objects of this Class
nNotice how similar the use of these operations is to the cin.get function.....
n cin.get(ch);
nThis should be a clue. cin therefore is an object of
the istream class.
nThe
dot is the member access operator; it allows us to access a particular public member function defined within the istream class.
nThe
function get is therefore defined within the public section of the istream class