jQuery in Action, 2nd edition*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes regarding the Variable arguments... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply locked New topic
Author

regarding the Variable arguments...

Srirambhatla dileep kumar
Greenhorn

Joined: Jan 07, 2006
Posts: 22

hello all,
i have a small problem running the above code when run on java 1.5 it is not compiled and showing an error message that it requires an identifier.
please let me know if i have made any mistakes.
Dileep
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Compiles and runs for me. Please specify exactly the error message you get - line number and exact wording.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Srirambhatla dileep kumar
Greenhorn

Joined: Jan 07, 2006
Posts: 22
sorry,
Srirambhatla dileep kumar
Greenhorn

Joined: Jan 07, 2006
Posts: 22
sorry, actually i have two instances of the java running one is 1.4 for my project and i.5 though i have changed the path settings it was not been updated and now i resolved it..
sorry for giving you trouble....

bye
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: regarding the Variable arguments...
 
Similar Threads
why in float the number 99999999 becomes 1.0E8
Strange 'var arg' method.
is java good for making roguelikes?
confusion in methdo overloading with var args
Var-args and Array