5/12 Variables

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

What I’m doing wrong in 5/12 I tried to put this int before system.out.println and after and at the end insted of it, bt unfortunately still got error:).

<Below this line, add a link to the EXACT exercise that you are stuck at.>

https://www.codecademy.com/courses/learn-java/lessons/introduction-to-java/exercises/variables
Step#1

<In what way does your code behave incorrectly? Include ALL error messages.>

Did you set the myNumber variable equal to 42?

```

public class DataTypesC {
public static void main(String args) {

	int myNumber = 42;
}

}

<do not remove the three backticks above>

Hi,
The link you have here leads to the 5th exercise, and you haven’t done all of it. After the integer, you have to establish a Boolean and a char variable. Make sure to read the directions and do all the parts! If you still need help after that, then shoot me a message and I’ll help you to the best of my ability. :slight_smile:

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