Welcome to Dream.In.Code
Become a Java Expert!

Join 149,485 Java Programmers for FREE! Get instant access to thousands of Java experts, tutorials, code snippets, and more! There are 1,338 people online right now. Registration is fast and FREE... Join Now!




any help will do

 
Reply to this topicStart new topic

any help will do

doggypoo123
18 Apr, 2007 - 03:07 PM
Post #1

New D.I.C Head
*

Joined: 18 Apr, 2007
Posts: 2


My Contributions
I need an example of a program that replaces text in a letter. it replaces the text "%First" and "%Last" with a persons name. the letter is read from a txt file. the program uses 2 classes.

these 2 methods are in one of the classes
public Letter(Scanner in){
//and
public void format(Map<String, String>map){

any little fragment of code can help. i have no clue on what to do. this program uses a tree maps to replace the text. im very new to this and have been have trouble calling methods.
User is offlineProfile CardPM
+Quote Post

Jayman
RE: Any Help Will Do
18 Apr, 2007 - 04:08 PM
Post #2

Student of Life
Group Icon

Joined: 26 Dec, 2005
Posts: 7,302



Thanked: 66 times
Dream Kudos: 500
Expert In: Everything

My Contributions
Post the code you have completed so far in your attempt to complete your assignment and we will be happy to help.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/7/09 04:48PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Java Help!

Java Tutorials

Reference Sheets

Java Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month