"3+45*2".split(...) loses the operators. Write a utility class Splitter with a static method
public static String[] split(String text, String delimiters)
that cuts the text at every character found in delimiters and keeps each delimiter as a piece of its own: split("ab#12#453", "#") gives ab, #, 12, #, 453.
Design it top-down with two helpers: isDelimiter(char c, String delimiters) and countPieces(text, delimiters) — an array needs its size before it is filled, so the pieces are counted first. Do not use ArrayList or regular expressions.
SplitterApp reads the text on the first line and the delimiters on the second. For the input
3+45*2-7
+-*/
the program prints
Pieces: 7
1: 3
2: +
3: 45
4: *
5: 2
6: -
7: 7