Having trouble with 12/12 step 4


#1



https://www.codecademy.com/en/courses/learn-java/lessons/introduction-to-java/exercises/generalizations?action=resume


I don't know how to set variable equal to another variable.

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


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

	}
}


#2

@halfandhaf,
As soon as you have used

int awesomeLevel = 121;

you have assigned the integer Value 121 to the variable awesomeLevel

From now on
everytime you write awesomeLevel
the JAVA-interpreter will evaluate awesomeLevel to the integer Value 121

Thus if you would use

epicLevel = awesomeLevel;

the epicLevel variable will have gotten assigned the =result=
of the evaluation of the awesomeLevel variable
which is the integer Value 121