Cannot resolve Symbol

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Charles Sherman
    New Member
    • Dec 2010
    • 4

    Cannot resolve Symbol

    Code:
      public class area
      {
      public static void main(Strings [] args)
      {
      int height;
      int width;
      int area;
      int i;
      int e;
      for (i=1; i>=11; i++);
      height = i;
      for (e=1; e>=11; e++);
      width = e;
      (area) = (height) * (width);
      System.out.print (area);}
    }
    It keeps telling me the error is in line 3. Its pointing at the "S" in Strings. Any help is much appreciated
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    Try this.

    Code:
    public static void main(String[] args)
    Regards
    Dheeraj Joshi

    Comment

    Working...