// Listing 8.5. Definicja klasy room

         class room{
            protected int Length = 300;
            protected int Width = 200;
            protected int Area;
            public something TestObject;

            public  room()
            {
                TestObject = new something();
            }

            public int area()  
            {
                Area = Length * Width;
                return(Area); 
            }

            public int length()
            {
                return(Length);
            }

            public int width()
            {
                return(Width);
            }
       }
    
    