A method is a procedure or function in OOPs Concepts . Whereas, a function is a group of reusable code which can be used anywhere in the program. This helps the need for writing the same code again and again. It helps programmers in writing modular codes.1 Haz 2020