A good answer might be:Yes--the parameter for the constructor is a string, which could contain user data. |
Power of Two TableThe second example program writes a table to a disk file named by the user. The trim() method removes leading and trailing spaces from the user data. Two try{} blocks are used so that if the constructor throws an exception an appropriate error message is written.
The string parameter of the write() method is created by converting numbers to characters and concatenating them to the string. The character '\t' is the tab character. |
QUESTION 12:(Review: ) What is a buffer? Click Here after you have answered the question |