title: Unreachable Statement
body: <p>I am currently creating a meme generator and i get and an error message saying
  unreachable Statement what does this mean and how do i solve this problem</p>
  
  <p>Here is the code </p>
  
  <pre><code>package com.example.curtis.memegenerator;
  
  import android.os.Bundle;
  import android.support.annotation.Nullable;
  import android.support.v4.app.Fragment;
  import android.view.LayoutInflater;
  import android.view.Menu;
  import android.view.MenuInflater;
  import android.view.View;
  import android.view.ViewGroup;
  import android.widget.TextView;
  
  public class BottomPictureFragment
      extends Fragment {
  
      private static TextView topMemeText;
      private static TextView bottomMemeText;
  
      // Variables topmemetext and bottommemetext
      @Override
      public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
          View view = inflater.inflate(R.layout.bottom_picture_fragment, container, false);
          return view;
          topMemeText = (TextView) view.findViewById(R.id.topMemeText);
          bottomMemeText = (TextView) view.findViewById(R.id.bottomMemeText);
      }
  
      //method public void , two parameters
      public void setTopMemeText(String top, String bottom) {
          topMemeText.setText(top);
          bottomMemeText.setText(bottom);
      }
  }
  </code></pre>