|
-
Jan 13th, 2007, 01:52 PM
#1
[RESOLVED] Silly question about string
I know it's kinda silly but i'm just beggining java,so.
I cannot declare a "string" variable in Java studio creator.
Must i import something?
Thanks.
-
Jan 13th, 2007, 02:49 PM
#2
Re: Silly question about string
Capital "S" on String.
Java naturally handles all primitive data types such as int, String, char, float, etc.
-
Jan 13th, 2007, 04:40 PM
#3
Re: Silly question about string
String ain't a primitive ...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 13th, 2007, 10:38 PM
#4
Re: Silly question about string
 Originally Posted by CornedBee
String ain't a primitive ...
Thats what I thought too..And I just did a search on the web and found this site that lists the actual primitive types
http://www.cafeaulait.org/course/week2/02.html
The reason I stated as such is because my Java teacher told us on Friday that it was. And I wasn't really going to question him since he has been programming for years and years
-
Jan 14th, 2007, 11:30 AM
#5
Re: Silly question about string
Thank you.
Btw is there a site or a page that list componets of Java?
P.E. I want to pop up a messagebox like VB or use a listview , well, the relevant in Java, etc.
-
Jan 14th, 2007, 06:32 PM
#6
Re: Silly question about string
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Jan 14th, 2007, 06:43 PM
#7
Addicted Member
Re: Silly question about string
yes java docs are very useful... especially for those of us with bad memories
exact url is http://java.sun.com/j2se/1.5.0/docs/api/index.html for javadoc 1.5
-
Jan 14th, 2007, 08:04 PM
#8
Re: Silly question about string
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|