String str = "My name?It's me Sumon?There was a logic behind it.where is the basic knowledge?i can go the the room.";
String[] splited = str.split( "(?<=[\\.|\\?])" );

for (String s:...