5/12 Variables


#1



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:).

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

Did you set the myNumber variable equal to 42?


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

		int myNumber = 42;
	}
}


#2

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:


#3

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