title: Java how to access a class within a class
body: <p>Here is basically what I have:</p>
  
  <pre><code>public class Game extends Activity{
      public class Work{
          public class Shuffle{
              *Class I need to access*
          }
      }
  }
  </code></pre>
  
  <p>Here is the class I will be accessing Shuffle from:</p>
  
  <pre><code>public class Deck extends Game {
      public int shuffle() {
          //WHAT DO I NEED TO DECLARE HERE IN ORDER TO ACCESS Shuffle.getShuffle()?
          int[] shuffDeck = (MY SHUFFLE CLASS).getShuffle();
          int x = shuffDeck[i];
          String y = String.valueOf(x);
          i += 1;
  
          return x;
      }
  }
  </code></pre>
  
  <p>What do I need to declare to be able to access Shuffle.getShuffle() in my Deck class?</p>