title: How to return static class
body: <p>I am trying to return a static class from a method. Can anyone tell me how to do it? Below is my code:</p>
  
  <pre><code>class Dimension {
        static class Sides {
            int i, j
      }
  
  
      Sides findInGrid() {
         // Here I want to set i and j to values of x and y
      }
  }
  </code></pre>