Problem #459 C++ using OBJECT ORIENTED PROGRAMMING

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

Your Solution