alternate of symbols
I抦 having problem with these two symbols ( ` ' ) I抦 using book 揟each yourself java in 24 hours?these symbols are used in this book. I抦 using jdk1.5.0_11. Whenever I use these symbols compiler gives errors. In this source code which symbol I can use in alternate of them.
class Wheel {
public static void main(String arguments[]) {
String phrase[] = {
"A STITCH IN TIME SAVES NINE",
"DON'T EAT YELLOW SNOW",
"JUST DO IT",
"EVERY GOOD BOY DOES FINE",
"I WANT MY MTV",
"HOW `BOUT THEM COWBOYS",
"PLAY IT AGAIN, SAM",
"FROSTY THE SNOWMAN",
"ONE MORE FOR THE ROAD",
"HOME FIELD ADVANTAGE",
"VALENTINE'S DAY MASSACRE",
"GROVER CLEVELAND OHIO",
"WONDERFUL WORLD OF DISNEY",
"COAL MINER'S DAUGHTER",
"WILL IT PLAY IN PEORIA"
};
int[] letterCount = new int[26];
for (int count = 0; count < phrase.length; count++) {
String current = phrase[count];
char[] letters = current.toCharArray();
for (int count2 = 0; count2 < letters.length; count2++) {
char lett = letters[count2];
if ( (lett >= `A') & (lett < `Z') ) {
letterCount[lett - `A']++;
}
}
}
for (char count = `A'; count <= `Z'; count++) {
System.out.print(count + ": " +
letterCount[count - `A'] +
"\t");
}
System.out.println();
}
}

