<In what way does your code behave incorrectly? Include ALL error messages.>
Generalizations.java:7: error: unclosed character literal
int epicLevel=‘awesomeLevel’*2;
^
Generalizations.java:7: error: unclosed character literal
int epicLevel=‘awesomeLevel’*2;
^
Generalizations.java:7: error: not a statement
int epicLevel=‘awesomeLevel’*2;
^
3 errors
What is a character literal? What does it look like? How does that relate to what’s in your code?
Try consulting a search engine with either the error message or looking up what a character literal is. Add the word java in the search query for context
I don’t need to see it or even tell you what the problem is because the compiler is already doing both of those things. So what you need to do is to read the error message that is coming from the compiler.
If you don’t understand it then that’s fine, but then you will need to dig a bit deeper, such as by searching for that error message with a search engine.
Just now I completed this question .I’m also a learner here .
your code is
int epicLevel==‘awesomeLevel’*2;
replace this with
int epicLevel = awesomeLevel * 2;
hope this will help you .
Hi This is the answer for all the Question .
// boolean isComplete = true;
int awesomeLevel = 121;
int epicLevel = awesomeLevel * 2;
Hope it will help you .Sorry for the late reply.
I’m getting an error of expected ‘;’ at the end of the line. but I have used a semi colon. please help me. my code is int epiclevel==int awesomelevel*2;