Go Back   Java Programming Forums > Java Standard Edition Programming Help > File I/O & Other I/O Streams

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-07-2009, 08:18 AM
Junior Member
 

Join Date: Jun 2009
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
lotus is on a distinguished road
Default Differences in input?

what is the difference between
Java Code
 input.next()
and
Java Code
 findInLine(".")charat(0);



Reply With Quote Share this thread on Facebook
Sponsored Links
  #2 (permalink)  
Old 04-07-2009, 07:10 AM
Junior Member
 

Join Date: Jul 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jimbooo is on a distinguished road
Default Re: Differences in input?

Hard to tell. You haven't given us any information about the classes/methods you posted. So: Can you give a little bit larger code snippet?
Reply With Quote
  #3 (permalink)  
Old 04-07-2009, 08:18 AM
Junior Member
 

Join Date: Jun 2009
Posts: 24
Thanks: 1
Thanked 0 Times in 0 Posts
lotus is on a distinguished road
Default Re: Differences in input?

i mean is there any difference in the input it takes? or is it that both will capture any keyboard input
Reply With Quote
  #4 (permalink)  
Old 06-07-2009, 10:10 AM
Junior Member
 

Join Date: Jul 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Jimbooo is on a distinguished road
Default Re: Differences in input?

Well, i have no idea because I don't know in which context this code is placed. What kind of object is input? And if you know that, is there any javadoc that can tell us more about how it works?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Similar Threads
Thread Thread Starter Forum Replies Last Post
Differences Between Java and C,C++ sriraj.kundan Java Theory & Questions 2 20-06-2009 06:11 PM
How to check an input is an integer as oppose to a float Konnor File I/O & Other I/O Streams 3 02-02-2009 10:37 AM
How to input items in array jempot Collections and Generics 4 27-01-2009 11:07 AM
input masking sah Java Theory & Questions 1 26-01-2009 11:43 PM
How to Read user input from the console with InputStreamReader JavaPF Java Code Snippets and Tutorials 0 19-05-2008 11:48 AM


100 most searched terms
Search Cloud
2 dimensional arraylist java 2d arraylist java actionlistener actionlistener in java actionlistener java actionlistener jbutton addactionlistener addactionlistener java avatar hardware id convert double to integer java double format java double to int java double to integer in java double to integer java eclipse shortcut keys eclipse tutorial for beginners exception in thread "awt-eventqueue-0" java.lang.outofmemoryerror: java heap space exception in thread "main" java.lang.outofmemoryerror: java heap space format double java get mouse position java hardware id avatar java 2 dimensional arraylist java 2d arraylist java actionlistener java addactionlistener java button actionlistener java double format java double to int java double to integer java for beginner eclippse java format double java forum java forums java get mouse position java ipod touch java jbutton java list to map java mouse position java programming forum java programming forums java sendkeys java.lang.reflect.invocationtargetexception java.util.arraylist jbutton actionlistener jbutton java jtextarea font color programming forums string to int java two dimensional arraylist java writing apps for ipod touch

All times are GMT. The time now is 02:48 PM.
Powered by vBulletin® Copyright ©2000-2009, Jelsoft Enterprises Ltd.