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!
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 trial
Alberry RiveraCourses Plus Student 708 Points
The code fragment which you have pasted uses classes that are not accessible by imports in the new context.
HI guys I'm having this pop-up when i cut and paste the code to FactBook and ask me to choose a class which is only java.util.Random and fact = facts[randomNumber]; and return facts; always gets an error and when i type import java.util.Random on fun facts activity it gets deleted. Is there any solution to this?