Need help with variable part 2


#1

I need help because it my first time trying this out


#2

Post the instructions and what you tried.

Tell us what you need help with.


#3

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

	int myNumber= 42;
	boolean isFun ture
	char movieRating;

what's wrong about it.


#4

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

	int myNumber= 42;
	boolean isFun ture
	char movieRating;

#5

On isFun you spelled true wrong and forgot an ending semicolon.


#6

Thank you for having me I hope I see you next time I need help.


#7

Always happy to help!

Just post if you're confused! :slightly_smiling:


#8

I too am having an issue with this problem, and decided it was best to hijack this thread rather than waste space. My code is:

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

}

}

The A is not taking, Ive tried to add spaces and remove spaces, and Im stuck.

Edit:

I was right, I just didnt know I got it right.

How does one change their avi/name on the forums?


#9

To change your name on the forum you:

*Go to profile page on CodeCademy.com
*Go to preferences
*Change Name
*Hit Update Button
*Log out, then back in to forums

:slightly_smiling: