package oopintro;

public class Room {
    // instance variables are variables that are own by a specific instance (object)
    public String name;    //null
    public double length; // 0
    public double width; // 0

    //class variable for limits capacity
    public static double standingLmit = 2.0;
    public static double sittingLmit = .5;


    // instance methods  - owned by aspecific instance (objectd)
    public double calculateArea(){
        return length *width;
}

public double calculatePerimeter(){
    return  length * 2 + width * 2;
}

 public static void displayRoom(string length,String width) {
        return String.format("Room %s: %.1f x %..1f", name, length, width);
                
    }

}

