Last year there was this one kid in another programming class, but all the time he would brag about how he "broke" java. I glanced over his code and it was a mess. But it seemed to be correct. Even our instructor traced it and found no errors. However, whenever he ran it, the output would give an extra line that wasn't supposed to be there. Can the computer or compiler ever be wrong? (assuming your logic is flawless)

It happens. They have a name for it: a bug

Without the code to demo, who can say what happened.

It happens. They have a name for it: a bug

Without the code to demo, who can say what happened.

A bus is usually "user error" :)
they are cause by programmer.
There is a saying that goes like "garbage in garbage out"

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.