Question: import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; import java.util.regex.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; class
import java.io.*;
import java.math.*;
import java.security.*;
import java.text.*;
import java.util.*;
import java.util.concurrent.*;
import java.util.function.*;
import java.util.regex.*;
import java.util.stream.*;
import static java.util.stream.Collectors.joining;
import static java.util.stream.Collectors.toList;
class RectangularTank {
private int length;
private int width;
private int height;
public RectangularTank(int inLength, int inWidth, int inHeight) {
length = inLength;
width = inWidth;
height = inHeight;
}
/*
* Complete the 'getSurafceArea' function below.
*
* The function is expected to return an int.
*/
public double getSurfaceArea() {
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
