title: Writing interfaces in java
body: <p>how do i approach this question>?</p>
  
  <p>Write an interface named XYInterface that contains two int constants,
  X = 5 and Y = 10 and a method called useXY which receives no
  parameters and returns an integer value. (You don’t need to implement
  the XYInterfac)</p>
  
  <pre><code>    public interface XYInterface {
  int x = 5;
  int y = 10
  
      }
  </code></pre>
  
  <p>Thank you.</p>