hello all
i am just started with java
i have coding with some other PLs but i dont know why this simple code is wrong or there is a problem with the eclipse
where is the problem ??????????
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
hello all
i am just started with java
i have coding with some other PLs but i dont know why this simple code is wrong or there is a problem with the eclipse
where is the problem ??????????
Last edited by neoanderson; September 19th, 2014 at 03:36 PM.
Welcome to the forum! Please read this topic to learn how to post code in code or highlight tags and other useful info for new members.
Please post your code correctly using code or highlight tags per the above link.
If you're getting error messages, either from the compiler or while running, post the complete text of those messages. If no messages or you can't even get that far, then explain why you think there's a problem, ask specific questions.
neoanderson (September 19th, 2014)
It works for me. What errors are you getting? probably to do with your IDE or something.
neoanderson (September 19th, 2014)
thanks all for respond
@camel-man do you how could i fix the Eclipse . do you think of any specific setting ?
Not sure what error you are getting. What does it say when you try to run the program?
neoanderson (September 19th, 2014)
ooh sorry i forgot to copy the error
this is the error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
The method printf(String, Object[]) in the type PrintStream is not applicable for the arguments (String, int)
at alijon.main(alijon.java:7)
Check this link for possible solutions. Remember, Google is your friend.