what is the difference between error,bug and defect?
Error : In a program if there is any statement logically incorredt then it is called as an error