;expected error

Reply

Join Date: Nov 2007
Posts: 62
Reputation: tactfulsaint is an unknown quantity at this point 
Solved Threads: 0
tactfulsaint tactfulsaint is offline Offline
Junior Poster in Training

;expected error

 
0
  #1
May 23rd, 2008
Please everyone i need some help here, why do i keep getting this error .
i want the informations submited to the database.

C:\RMI\Client>javac *.java
CustomerInformation.java:121: ';' expected
String insertDetails(cid, name, dob, cms, address, city, state , zcode
, cnum, nod);
^
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,454
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 510
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: ;expected error

 
0
  #2
May 23rd, 2008
What exactly are you trying to do on that line of code? It doesn't appear to be a valid statement at all.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 62
Reputation: tactfulsaint is an unknown quantity at this point 
Solved Threads: 0
tactfulsaint tactfulsaint is offline Offline
Junior Poster in Training

Re: ;expected error

 
0
  #3
May 23rd, 2008
i was trying to implement the insertDatails but it keeps displaying error ( shoowing this ';' expected)

String insertDetails (cid, name, dob, cms, address, city, state , zcode
, cnum, nod);
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,454
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 510
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: ;expected error

 
0
  #4
May 23rd, 2008
If that is supposed to be a method, then it is not a valid declaration at all. There is no type information for the parameters and method declarations do not end in a semi-colon (unless it's an interface or abstract method).
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC