Sub: Re: MAC and system.out.printf ??????
Note that Mac. is not an acronym (so not all-caps)
and please fix that sticky '?' key. One question
mark is enough.
>Why do I get a compiler error when I use the following
Because you have no idea what you are doing?
I would normally ask the poster to note the *exact*
error output that the compiler produces, but this one
is too obvious to need that.
>system.out.printf("%d", number);
D:\Test.java:4: package system does not exist
system.out.printf("%d", number);
^
1 error
That output was from a *Win.* based machine.
>does printf work on the mac?
Sure, you just need use the correct nomenclature
to refer to the System class, so that would be..
System.out.printf("%d", number);

Signature
Andrew Thompson
http://www.athompson.info/andrew/
butler.randy@gmail.com - 11 Apr 2007 13:19 GMT
> butler.ra...@gmail.com wrote:
>
[quoted text clipped - 31 lines]
>
> Message posted via JavaKB.comhttp://www.javakb.com/Uwe/Forums.aspx/java-general/200704/1
No need to hate it was a simple question.
the compiler error I'm getting is symbol not found
System.out.printf("%d", number);
^
is this better ???
thanks
Lew - 11 Apr 2007 13:54 GMT
>> butler.ra...@gmail.com wrote:
>>
[quoted text clipped - 30 lines]
>
> No need to hate it was a simple question.
And Andrew gave you the simple answer, and some good advice which apparently
you choose to ignore.
> the compiler error I'm getting is symbol not found
> System.out.printf("%d", number);
> ^
> is this better ???
No, because you forgot to fix your sticky "?" key. Maybe you need to replace
your keyboard.
Also, why ask the question again? Andrew gave you the answer.

Signature
Lew
butler.randy@gmail.com - 11 Apr 2007 13:56 GMT
> butler.ra...@gmail.com wrote:
> >> butler.ra...@gmail.com wrote:
[quoted text clipped - 49 lines]
>
> - Show quoted text -
ok I think i fixed the key ?