Why this code is not running?


#1
public class Variables {
	public static void main(String[] args) {

		int myNumber=42;
		boolean isFun=true;
		char movieRating='A';

	}
}

#2

Define not running?

Do you get an error message? If so, please share the error message

which exercise is this? Please share the exercise url

By providing this information, we can help you better :slight_smile:


#3

Give a solution to the comment term i have asked


#4

I don’t know why its not running. Not running is a very broad term. Please see my reply

I don’t give answer like that, then i am not the right person to help you. There is a difference between help and just giving the answer. If you just want the answer, why not use the get code button which appears after several failed tries?


#5

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