| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: C++ |
From: Adam Flinton vwheeler wrote: > > > Adam Flinton wrote: > >> Ellen K. wrote: >> >>> ISTR (but don't everyone jump on me if this is wrong, I am no Java >>> expert) that in Java the "native" datatypes like an integer go on the >>> stack, while the object ones go on the heap. But even without that >>> obviously the native datatypes are gonna be faster to work with. >>> >> >> int. >> > > No, in Java the integer is a primitive, "Integer" (uppercase I) is a > "wrapper class" that contains an int. All the primitives in Java have > wrapper classes. > The primitive is the int. You are correct that Integer has a capital I. http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html Adam >> integer is an object. >> >> Adam >> >>> On Mon, 8 Nov 2004 18:44:32 -0600, "Geo" wrote in >>> message : >>> >>> --- BBBS/NT v4.01 Flag-5* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45) SEEN-BY: 633/267 270 5030/786 @PATH: 379/45 1 396/45 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.