Using JOptionPanes to handle your input and output, develop a Java program which, given the width, length and depth (in metres), of a swimming pool, determines and outputs: (a) the volume in litres, and (b) the time in hours to fill the swimming pool. Assume the rate of flow into the pool is 2.5 litres per second. Note: 1 litre = 1000 cubic centimetres, therefore 10 litres = 0.01 cubic metre, hence 1 cubic metre = 1000 litres (see figure below).
Write the source code for each class in a separate file, which must have the same name as the class name together with the extension. java. Class names commence with a capital letter.
Use meaningful identifier names and should provide useful comments.
This section contains the following elements:
• The projects only use JDK and an editor (textPad, notepad, notepad++, etc).
• Do not use Java packages to package the classes, useAPIs provided by Java SDK.
• Give some appropriate introduction and discussion of your answers.
• Commentsthe code of the program.
• Project must have at least THREE (3) java classes.
• Do not use code generator.
• References with Harvard style at least 3 Academic Articles or books.
• Please, make sure that there is no Plagiarism.