Counter In Java String

All the three methods are generic simply you can pass input string and input char as argument and method return character count. We can add...