Difference Between BUG, Error & Defect

Error: The difference between expected result and actual result is error 
Bug: If that error comes at the tome of development stage before production then it is bug. 
Defect: If that error comes after production then we say it is defect. 





Comments