Java program which counts different palindromic characteristics of a string .
import java . io . * ; class GFG { static int MAX_STR_LEN = 1000 ; static boolean P [ ] [ ] = new boolean [ MAX_STR_LEN ] [ MAX_STR_LEN ] ; static int [ ] Kpal = new int [ MAX_STR_LEN ] ;