Experiment
Part 1: Design and realize a Java class
Experiment to maintain the information on the data measured during
an experiment. The data are passed in the form of a text string containing
integer values (at least one), separated by blank spaces. The following
functionalities should be offered by the class Experiment:
double) of the
measured values.
To realize the various functionalities you should use objects of the class
StringTokenizer, created starting from the string that represents
the measured data.
Part 2:
Write a client of the class Experiment that:
JOptionPane.showInputDialog) a set of integer values, and
accumulates them in a string of integers separated by blank spaces, until
the user presses the Cancel button.
Experiment.