TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Prime b
NA
810
346.9k
Read every othe chat in the file
Feb 21 2012 11:12 AM
Prompt the user for and store the file name (usernamesandpasswords.txt) of the attached file. On a new line for each, display back to the user
every other
character in the file name starting with the first character (u).
What i have done
while (inputFile.hasNext())
{
line = inputFile.nextLine();
for (int index = 0; index < line.length(); index+=2)
{
if (line.charAt(index) == character)
{
System.out.println(line.charAt(index));
}
}
It doesnt work though
Reply
Answers (
3
)
How we cofigure a servlet in to weblogic 10.3 ?
Average out the string(solved)