import java.util.*;
public class oblongTester
{
public static void main(
String[]args)
{
Scanner sc=new Scanner(System.in);
/*declare two variables to hold the length and height
*of the oblong as input by the uaer*/
double oblongLength, oblongHeight;
//declare a reference to an oblong object
Oblong myOblong;
//now get the values fromn the user
System.out.print("Please enter the length of your oblong");
oblongLength=sc.nextDouble();
System.out.print("Please enter the height of your oblong");
oblongHeight=sc.nextDouble();
//create a new oblong object
myOblong=new oblong(oblongLength,oblongHeight);
/*use the variousmethods of the oblong class to display
*the length, height, area and perimeter of the oblong*/
System.out.println("Oblong length is "+ myOblong.getLength());
System.out.println("oblong height is "+myOblong.getHeight());
System.out.println("oblong area is "+myOblong.calculateArea());
System.out.println("oblong perimeter is "
+myOblong.calculatePerimeter());
errors: cannot find symbol class oblong line 12
class oblong is public should be declared in a file named oblong.java line 1
cannot access oblong line 19