5/12 Variables


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


Did you set the myNumber variable equal to 42?

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

		int myNumber = 42;


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.