MCPcopy Create free account
hub / github.com/Rohit91singh9/Coding-DP-DSA / Letters

Class Letters

minimumKeypadClickCount.java:2–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import java.util.Scanner;
2class Letters {
3 private char letter;
4 private int frequency;
5 public Letters(char letter) {
6 this.letter = letter;
7 this.frequency = 0;
8 }
9 public char getLetter() {
10 return letter;
11 }
12 public int getFrequency() {
13 return frequency;
14 }
15 public void incrementFrequency() {
16 this.frequency++;
17 }
18}
19
20public class minimumKeypadClickCoun {
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected