nebmucoy674
Coder
Hey all,
I hope this thread finds everyone well! I'm new to Java and this is literally my first project. The school I attend requires us to use Eclipse. When I start a new "class" (which please correct me if I'm wrong is about the same thing as a new java program inside a java project?) I am able to name the class (in example below it is bowtie) but the first line reads: "package yocumjavaproject1;"... if I take this line out there is an error. Although my program runs fine with this first line, in the example videos I have seen there has not been this line. I'm sure this is a simple thing but would like an explanation if possible as well as if there is a way to not need this first line. Thank you all again for your help!
I hope this thread finds everyone well! I'm new to Java and this is literally my first project. The school I attend requires us to use Eclipse. When I start a new "class" (which please correct me if I'm wrong is about the same thing as a new java program inside a java project?) I am able to name the class (in example below it is bowtie) but the first line reads: "package yocumjavaproject1;"... if I take this line out there is an error. Although my program runs fine with this first line, in the example videos I have seen there has not been this line. I'm sure this is a simple thing but would like an explanation if possible as well as if there is a way to not need this first line. Thank you all again for your help!