public class Operation {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
}
String customerName = "Robert Le",
homePhone = "9774 3832" ;
int numberOfShirts = 2, numberOfPants = 2, numberOfDresses = 8 ;
double princeOfShirt = 0.95D, priceApairOfPants = 2.95D,
priceOneDress = 3.25D ;
int orderMonth = 3, orderDay = 15, orderYear = 2002 ;
double mondayDiscount = 0.25 ;
String businessName = "AAAAAAAAA" ;
System.out.print(businessName) ;
}
when I compile I got the error which I don't understand while it failed .
Created dir: C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\build\classes
Created dir: C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\build\empty
Compiling 1 source file to C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\build\classes
C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\src\Operation.java:28: <identifier> expected
System.out.print(businessName) ;
C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\src\Operation.java:28: <identifier> expected
System.out.print(businessName) ;
2 errors
C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\nbproject\build-impl.xml:363: The following error occurred while executing this line:
C:\Users\robert\Downloads\Documents\NetBeansProjects\Operations1\nbproject\build-impl.xml:168: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
please help .