Code:
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
Room[] rooms;
rooms = new Room[5];
rooms[0] = new Room( 3, 7, true);
/* non-static variable this cannot be referenced from