Re: new to java, help simple project
ineedhelpplease wrote:
i [sic] look over what you gave me, it was helpful.
supposedly java [sic] provides a class java.lang.BigInteger
.... still confused on the project :( ???
No. Patricia already corrected you on that one.
Patricia said:
I think you are supposed to use java.math.BigInteger.
There is no java.lang.BigInteger.
Java does *not* have a class called 'java.lang.BigInteger'. She suggested
that you look at the documentation. Did you look at the documentation? Look
at the documentation.
<http://java.sun.com/javase/6/docs/api/java/lang/package-summary.html>
Notice, no BigInteger there!
Patricia told you:
java.math.BigInteger
<http://java.sun.com/javase/6/docs/api/java/math/package-summary.html>
<http://java.sun.com/javase/6/docs/api/java/math/BigInteger.html>
You will find the Javadocs quite helpful. You should read them.
BTW, when you ask for help, you should actually ask a question. You did not
do this in your original post. You just posted your homework and said,
"Thanks for your help." You're so lucky Patricia answered. She may well be
the wisest and most helpful person to post to this group. Most people would
have left such a blatantly lazy appeal swinging in the wind.
The most helpful advice beyond what Patricia told you is to read the relevant
documentation. Then follow her suggestion:
If you have a specific question, please post
what you have worked out so far as well as the question.
--
Lew