private boolean isLastPunctuation(String tweetString){
  if (tweetString.endsWith("?") || tweetString.endsWith("!")) {
    return true;
  }
  return false;
}

private boolean isLastPunctuation ( String tweetString ) { if ( tweetString . endsWith ( "?" ) || tweetString . endsWith ( "!" ) ) { return true ; } return false ; }
determine if the tweet ends with an ? or !
