I have a function that takes an object of a certain type, and a PrintStream to which to print, and outputs a representation of that object. How can I capture this f
PrintStream
Define and initialize a Scanner variable named inSS that creates an input string stream using the String variable myStrLine.
Ans: Scanner inSS = new Scanner(myStrLine);