Trial and error is a fundamental method of Problem solving. It is characterised by repeated, varied attempts which are continued until success,or until the agent stops trying.Until getting the right answer the problem is repeating through various steps.This type of problem solving is called trial and error method.