Problem #459 CORE JAVA PROGRAMMING

Write a Java method that accepts three integers and checks whether they are consecutive or not. Returns true or false.

Your Solution