what is difference between bug error and defect code example
Example: difference between bug and error
If there is mistake in the code
than we call it error.
Error found by tester is called defect ,
Defect accepted by development
team is called Bug