Boolean - 12 generalisations


#1

Hi there,

I'm stuck on this particular exercise to progress. Could you help?

Link: https://www.codecademy.com/courses/learn-java/lessons/introduction-to-java/exercises/generalizations

Error message:

Generalizations.java:7: error: reached end of file while parsing
int epicLevel;
^
1 error

Java code

public class Generalizations {
	public static void main(String[] args) {


		boolean isComplete;
		int awesomeLevel;
		int epicLevel;		
		/*System.out.println(epicLevel);*/
		
//boolean isComplete = true//
    
//boolean isComplete = true//

Many thanks.


#2

1.
2. Set the boolean variable isComplete to true.
3.Set the int variable awesomeLevel equal to 121.
4.Set the int variable epicLevel equal to awesomeLevel multiplied by 2.


#3

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