title: How to call a method in another class of the same package?
body: <p>How to call a method, which is in another class of same package in Java?
  What I know is, using an object we can call a method from a different class.
  Is there any other way to call a method of different class?</p>