I'm a 1 day java programmer ! started with netbeans and right away faced a meaningless error:
1- created a new empty project,
2- added an empty java file to default package called GradeBook !
3- put this in the file:
public class GradeBook
public void displayMessage()
and it gives the error "duplicate class: GradeBook"
when I change the name to anything else it gets right !
please sb tell me what the hell is this :D