Re: new to java, help simple project
- From: Roedy Green <see_website@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 02 Jul 2008 00:38:17 GMT
On Mon, 30 Jun 2008 16:35:24 GMT, "ineedhelpplease" <u44592@uwe>
wrote, quoted or indirectly quoted someone who said :
?A data structure to represent large numbers: for example, a string or an
array of digits in a number
?public BigInt(String val)
A constructor that uses a string representation of the integer for
initialization. The string may contain leading zeros. Do not forget that
zero is a valid number.
?public void display()
A method to write numbers. Do not write leading zeros, but if the number
consists of all zeros, write a single zero.
?public BigInt add(BigInt val)
A method that returns the sum of val and the instance of BigInt that invokes
add.
see http://mindprod.com/jgloss/homework.html
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com
.
- Prev by Date: Re: counts the number of hit on a website containing many JSPs
- Next by Date: Ask the Experts Session on Java SE 6 Update 10 Beta: July 7-11
- Previous by thread: Re: new to java, help simple project
- Next by thread: Re: JTextPane and EditorKit
- Index(es):
Relevant Pages
|