The initial size of an ArrayList in Java is 0.
To split a string in Java using a dot (.) as the delimiter, you can use the split method of the String class.