Results 1 to 4 of 4
Thread: java IO program , please help
- 07-29-2011, 07:29 AM #1
Member
- Join Date
- Jul 2011
- Posts
- 1
- Rep Power
- 0
java IO program , please help
Hi everyone this is my first post on this forum. my question is- say i have a file abc.txt with the following contents-"my name is Ron. I am from London. I work in New York." I have to write a java program using IO with hashmap in it to display the output as follows-
Name: Ron
Native: London
Location: New York
please help
Thank you
hey guys . i have got ouptut using other method. forget this questionLast edited by rajshekar900; 07-29-2011 at 09:23 AM.
- 07-29-2011, 07:36 AM #2
What have you done?
What have you tried?
What problems are you having?
Ask a specific question, get a specific answer.
- 07-29-2011, 07:38 AM #3
- 07-29-2011, 07:46 AM #4
Member
- Join Date
- Jul 2011
- Posts
- 11
- Rep Power
- 0
OP when you say IO do you mean reading the contents of the file?And then subsequently I think what you are trying to do is map each of the three facts from the file into a HashMap with keys "name" "natiave" and "location"? Have you tried anything yet? As Junky mentioned show us what you have tried and then ask a specific question, and that is when people can help you.
Thanks!
Similar Threads
-
Call one Java Program from another Java Program
By rajpalparyani in forum New To JavaReplies: 3Last Post: 02-14-2011, 05:13 AM -
Is There A Way To Call Another Java Program Within A Java Program
By SwissR in forum New To JavaReplies: 4Last Post: 07-30-2010, 01:25 PM -
execute java program within java program
By popey in forum New To JavaReplies: 2Last Post: 10-22-2009, 06:32 PM -
How to execute an External Program through Java program
By Java Tip in forum java.ioReplies: 0Last Post: 04-04-2008, 03:40 PM -
How to execute an External Program through Java program
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 10:33 PM
Bookmarks