i am a semi newbie.iam trying to code a println(1,2);
but it wont compile. can anyone help me?
Look at the [url=http://java.sun.com/j2se/1.5.0/docs/api/index.html?overview-summary.html]API[/url].
You might be trying to do this:
[code]System.out.println("1" + "2");[/code]
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.