if one enters a phone number it should give the corresponding words from dictionary
Type: Posts; User: entwicklerin
if one enters a phone number it should give the corresponding words from dictionary
This is my code,Dictionary is a txt document that contain:
an
blau
Bo"
Boot
bo"s
da
Fee
fern
Fest
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.LineNumberReader;
import java.util.ArrayList;
import java.util.Scanner;
import...
Please help me out
it returns phWordsFromDict = "" i.e. an empty String
public static String getDictPhoneWord (String prefix) {
System.out.println(" :: Inside getDictPhoneWord :: prefix = "+prefix);
String current_word = "";
String phWordsFromDict = "";...
HI,
I have to write a piece of code in which i have String that can contain a word from a dictionary, that String is named 'prefix' and the dictionary word is current_word,How can i traverse through...