// Listing 10.4. Mechanizm tłumaczący PUMT — implementacja klasy room

//Scenariusze i sytuacje: SEKCJA 4.
  135    class room{
  136       protected int Length;
  137       protected int Width;
  138       protected int Area;
  139       public something SomeObject;
  140    
  141       public  room() 
  142       {
  143           Length = 300;
  144           Width = 200;
  145           SomeObject =  new something();
  146           SomeObject.setLocation(20,50);
  147       }
  148       public int  area()  
  149       {
  150           Area = Length * Width;
  151           return(Area); 
  152       }
  153    
  154       public  int length()
  155       {
  156          
  157           return(Length);
  158       }
  159    
  160       public int width()
  161       {
  162    
  163           return(Width);
  164       }
  165    }
