Results 1 to 6 of 6
Thread: What do these lines mean?
- 02-01-2011, 04:12 AM #1
Member
- Join Date
- Jan 2011
- Posts
- 40
- Rep Power
- 0
What do these lines mean?
double hours = Convert.toDouble
What does the double mean? What does the convert to double mean
SimpleIO.prompt("What is your age? ");
String userName = SimpleIO.readLine();
Does that specifially tell that line to show up to ask and then show it back. What if it was back to back like?
SimpleIO.prompt("What is your age? ");
String userName = SimpleIO.readLine();
SimpleIO.prompt("Do you have a job? ");
String userName = SimpleIO.readLine();
Will it go one by one?
- 02-01-2011, 04:39 AM #2
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
Your question is a bit out of context - the Objects references in the code you posted are not part of the standard java SE package. I can speculate as to what they do and try to answer all your questions, but feel pointing you to the java tutorials would be time better spent which, if you invest the time, might answer your questions more thoroughly (and then some).
The Java™ Tutorials
- 02-01-2011, 09:09 PM #3
Member
- Join Date
- Jan 2011
- Posts
- 40
- Rep Power
- 0
Thanks, but I don't really have the time to read and analyze. I'm a fast learner and if someone could just briefly explain it would help.
- 02-01-2011, 09:35 PM #4
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,619
- Rep Power
- 5
Well I'll just be blunt and get straight to the point...
...if you don't have time to learn, I don't have time to teach.but I don't really have the time to read and analyze.
- 02-02-2011, 02:29 AM #5
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,069
- Blog Entries
- 3
- Rep Power
- 7
If you don't know something as basic as what double means, Id suggest you really take a little bit of time and scan the tutorials, if you are indeed a quick learner, a quick scan should help you understand a decent amount of what the tutorials explain.
- 02-02-2011, 03:01 AM #6
OK
So there is a whole bunch of information on the net and in books which you cannot be bothered to read. Instead you want someone here to replicate that information just for you. Bite me! Also if you cannot be bothered to read what is already out there then presumably you cannot be bothered to read what anyone types here either.
Similar Threads
-
SAX parsing new lines
By fedekun in forum XMLReplies: 0Last Post: 12-29-2010, 08:30 PM -
add a space after 10 lines?
By ukemasta in forum New To JavaReplies: 10Last Post: 01-20-2010, 12:12 PM -
Help explain the FOR lines please
By hydride in forum New To JavaReplies: 2Last Post: 01-19-2010, 11:52 PM -
Anyway to fix the lines so they dun shift?
By PeterFeng in forum New To JavaReplies: 0Last Post: 01-14-2009, 10:26 AM -
Random Lines
By Urgle in forum New To JavaReplies: 29Last Post: 11-12-2008, 03:42 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks