hey to read the output of any process you should use
getInputStream of that process to get the output
and getOutputStream serves as an input to process
you are right about the first book..
it explains stuff in pictorial fashion
in this way you can understand stuffs
easily and it will remain in your mind
till you give your exam..