Skip to main content
Login
Join Now
Help
The Source for Java Technology Collaboration
Forums
Blogs
Projects
People
Main Menu
Home
Projects
Forums
People
Java User Groups
JCP
Advanced Search
Java Scaner help
You are here:
Forums
»
General Programming Help
No replies
Java Scaner help
February 16, 2012 - 16:47
razor_1234
Offline
Joined:
2012-02-16
Points
: 0
System
.
out
.
print
(
"
\n
\n
Enter the name of student "
+
(
i
+
1
)
+
": "
)
;
name
=
sc.
nextLine
(
)
;
Instead of pausing to allow me to enter input, the program merely continues to the next line.
Any help would be appreciated.
‹ Need some Help( awt & Swings )
Reclaiming memory in java without using garbage collector........ ›
Get Involved
About Java.net
Adopt a JSR
Create a Project
Java.net Enhancements
Get Informed
Articles
Blogs
Events
Java Magazine
Oracle University
Popular Forums
GlassFish
Messages: 30574
Last message posted at:
May 24, 2012 1:10 PM
Metro and JAXB
Messages: 16429
Last message posted at:
May 25, 2012 10:02 AM
Java 3D
Messages: 9086
Last message posted at:
May 16, 2012 6:25 PM
LWUIT
Messages: 8463
Last message posted at:
May 25, 2012 5:31 AM
SwingLabs
Messages: 8302
Last message posted at:
May 17, 2012 9:34 AM