title: Why am I getting the warning :Class is a raw type. References to generic type Class<T> should be parameterized"?
body: <p>I am getting warning in my <code>ListActivity</code>. The warning I am getting is shown below</p>
  
  <ul>
  <li><code>Class is a raw type. References to generic type Class&lt;T&gt; should be
  parameterized</code></li>
  </ul>
  
  <p>It is not creating any problems, but I would like to know why I am getting this warning and how to suppress it. See line which written within asterisks.  </p>
  
  <pre><code>public class Menu extends ListActivity {
  
      String classes[]={"Second","example1","example2","example3","example4"}; 
      @Override
      protected void onCreate(Bundle savedInstanceState) {
          // TODO Auto-generated method stub
          super.onCreate(savedInstanceState);
          setListAdapter(new ArrayAdapter&lt;String&gt;(Menu.this,android.R.layout.simple_list_item_1,classes));
      }
  
      @Override
      protected void onListItemClick(ListView l, View v, int position, long id) {
          // TODO Auto-generated method stub
          super.onListItemClick(l, v, position, id);
          String cheese=classes[position];
          try{
          **Class ourclass= Class.forName("com.app1."+cheese);**
          Intent ourintent= new Intent(Menu.this,ourclass);
          startActivity(ourintent);
          }catch(ClassNotFoundException e){
              e.printStackTrace();
          }
      }
  }
  </code></pre>