He hastily received the sheet of paper where his program will be based. This is one of those days that he needs to sleep late, and study all those programs that he hadn’t done in the first place. He just copied his work from his seatmates every laboratory time. And now, the On-the-spot programming is here. ‘What the heck’ his mind cursed as he read the sheet of paper on his hand.
“Create a program in Java that reads a file from the directory then split the numbers in it by spaces between them. Then print them.”
When did they discussed this things, he wonders. Even though he doesn’t listen always, he was sure that this one was discussed on a day that he was busy doing other stuff in his life. He hastily looked to his seatmate, Chris, who was now busy with the keyboard. He was using the try-catch, inside it is a vector and a file handling code that would read the file and store it. He do know that thing, reading and storing of files are so easy. But, how do you split the String or Vector that was stored. They had used the algorithm in which the reading of file is done by line, not by spaces.
He heaved a sigh, funny isn’t it? Here he was, writing a program on how to split information by their spaces, while last night, he tried to force Alice not to split with him. He reasoned out that the space between them doesn’t really matter. But she told him that she needs space. The temptation to throw the paper was so powerful, who cares about spaces. Who needs it by the way? It only creates gaps from things that were not meant to be separated by that simple thing called space.
“30 minutes more,” the professor announced.
He was snapped back to reality. He opens his old files of presentations copied from his supportive classmates, found some useful codes and algorithm. Passed the program on-line, without bothering to check if it was runnable or not.
“That was a sucking otsp!!!” Lawrence commented.
“Yeah, right,” Ernie answered.
He didn’t say anything. After all, what has happened will be part of the history that he might remember a few years from now. He has his own space to figure out.