Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKyle Scott
51 PointsError. Introductions.java:8: error: reached end of file while parsing console.printf("Hello, my name is Kyle"); ^
Not understanding what is happening here at all, I typed out exactly what Craig had typed.
1 Answer
Rich Zimmerman
24,063 PointsLine 6
Console.console = System.console();
Should be
Console console = System.console();
Kyle Scott
51 PointsReceiving same error after fixing it.
Kyle Scott
51 PointsActually, I'm sorry now it's something new
Introductions.java:3: error: class Introduction is public, should be public class Introduction {
Rich Zimmerman
24,063 PointsMight be because your file is Introductions.java (Plural Introductions), but your class is Introduction (singular).
Kyle Scott
51 PointsKyle Scott
51 PointsI made a screenshot so that way it can be seen https://w.trhou.se/kp5ca6bo7c