Which of the following is true about the law of conservation of energy?

Both a and b are correct.

**********