Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 5 additions & 23 deletions Hotel Array/src/Room.java
Original file line number Diff line number Diff line change
@@ -1,43 +1,25 @@
/**
*
* This class represent a Room
*/
//This class represent a Room
public class Room {
String CustomerN;
int RoomN;

/**
* Sets the Customer Number of this#Room to passed CustomerN
*
* @param CustomerN
*/
//Sets the Customer Number of this#Room to passed CustomerN
public void setCustomer(String CustomerN) {
this.CustomerN = CustomerN;

}

/**
*
* @return CustomerN of String type
*/
//@return CustomerN of String type
public String getCustomer() {
return this.CustomerN;

}

/**
* Sets the Room Number of this#Room to passed RoomN
*
* @param RoomN
*/
//Sets the Room Number of this#Room to passed RoomN
public void setRoom(int RoomN) {
this.RoomN = RoomN;
}

/**
*
* @return RoomN of int type
*/
//@return RoomN of int type
public int getRoom() {
return this.RoomN;

Expand Down