I'm stuck on question 12, part 5


#1

public class Generalizations {
public static void main(String[] args) {
//CommentHere:}
boolean isComplete = true;
int awesomeLeveln = 121;
int epicLevel = awesomeLevel * 2;
System.out.println(epicLevel);

}

}

Error code: Generalizations.java:6: error: cannot find symbol
int epicLevel = awesomeLevel * 2;		
                ^
  symbol:   variable awesomeLevel
  location: class Generalizations
1 error


#2

Here:

int awesomeLeveln = 121;

you probably wanted to define the variable called awesomeLevel, not awesomeLeveln.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.