Either an Error or I just really don't understand booleans


I just started the intro to Java, I thought it would be very useful to learn to supplement my knowledge of HTML/CSS, but I seem to have gotten stuck very early on. 

My problem is the following: 

I need to take 'boolean isFun' and set the boolean value to 'true'
A very easy task, no?

BUT, either I don't at all understand booleans or there's an error with the page.
The correct code should look like 'boolean isFun(true);', right? Or have I missed something somewhere?


HI if it's java it should be like that

boolean isFun = true;


Thank you so much, I guess I just misunderstood how I was supposed to be doing it!


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