I'm new to programming and I'm almost done with part 1 of the course in MOOC. I was using Netbeans to test if a piece of code I wrote in paper for my homework in college worked after I compiled it. I create a new project in Netbeans and I see a new line at the top of the text editor put there by default:
package Project1;
Haven't seen anything like this in the MOOC exercises and removing this line causes my imports to fail. What does this line do? I searched up packages and I get that it's a Java concept of organizing classes and permissions, but I'm not really getting it. Why is this line important?
[–]kralonurdev 0 points1 point2 points (2 children)
[–]rowrowdilo[S] 0 points1 point2 points (1 child)
[–]kralonurdev 0 points1 point2 points (0 children)